summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-02-04 15:33:08 +0000
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-02-04 15:33:08 +0000
commit0bbc6a4bf54197ec5dab874750d125cbd5b9e877 (patch)
tree739f04dc36f6aa68d5e594599ea4e0b95365a633 /libc/sysdeps/linux/common/bits
parent6d81f890b02a8d47a177e0ec62362405cddb804c (diff)
mman: disable memfd_create declaration
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r--libc/sysdeps/linux/common/bits/mman-shared.h2
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. */