commit | b3904ee5b99a5cf12d4a19d190a3584ec5fcafde | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Aug 13 20:19:31 2024 +0000 |
committer | Elliott Hughes <enh@google.com> | Tue Aug 13 20:19:31 2024 +0000 |
tree | 136676d2087cb36937bd9a69a47eb26f390df924 | |
parent | 0aad38db94a851d91fb74adb8e43cd347718117a [diff] |
Add mseal(2) wrapper. Change-Id: I053b2d570cd5750285fc20e9e237e04d59778bf5
diff --git a/libc/bionic/legacy_32_bit_support.cpp b/libc/bionic/legacy_32_bit_support.cpp index 4e19ebf..e66126b 100644 --- a/libc/bionic/legacy_32_bit_support.cpp +++ b/libc/bionic/legacy_32_bit_support.cpp
@@ -161,3 +161,9 @@ } return __mremap(old_address, old_size, new_size, flags, new_address); } + +// mseal(2) is LP64-only. +int mseal(void*, size_t, unsigned long) { + errno = ENOSYS; + return -1; +}