소스 검색

mman: disable memfd_create declaration

Waldemar Brodkorb 7 년 전
부모
커밋
0bbc6a4bf5
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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.  */