diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-02-04 15:33:08 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-02-04 15:33:08 +0000 |
commit | 0bbc6a4bf54197ec5dab874750d125cbd5b9e877 (patch) | |
tree | 739f04dc36f6aa68d5e594599ea4e0b95365a633 /libc | |
parent | 6d81f890b02a8d47a177e0ec62362405cddb804c (diff) |
mman: disable memfd_create declaration
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/common/bits/mman-shared.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/mman-shared.h b/libc/sysdeps/linux/common/bits/mman-shared.h index c40ae2d1e..98c9e1d3c 100644 --- a/libc/sysdeps/linux/common/bits/mman-shared.h +++ b/libc/sysdeps/linux/common/bits/mman-shared.h @@ -40,9 +40,11 @@ __BEGIN_DECLS +#if 0 /* Create a new memory file descriptor. NAME is a name for debugging. FLAGS is a combination of the MFD_* constants. */ int memfd_create (const char *__name, unsigned int __flags) __THROW; +#endif /* Lock pages from ADDR (inclusive) to ADDR + LENGTH (exclusive) into memory. FLAGS is a combination of the MLOCK_* flags above. */ |