Browse Source

mman: disable memfd_create declaration

Waldemar Brodkorb 6 years ago
parent
commit
0bbc6a4bf5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/sysdeps/linux/common/bits/mman-shared.h

+ 2 - 0
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.  */