From 0bbc6a4bf54197ec5dab874750d125cbd5b9e877 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 4 Feb 2018 15:33:08 +0000 Subject: mman: disable memfd_create declaration --- libc/sysdeps/linux/common/bits/mman-shared.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps/linux') 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. */ -- cgit v1.2.3