summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/mman-shared.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-08-11 20:22:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-08-11 20:22:48 +0200
commit811cd361e144dd7bdf75bcad8b4572ec786af5c7 (patch)
tree81451cdd45f1ecf5f72a2a12dd17fecb7b1cb889 /libc/sysdeps/linux/common/bits/mman-shared.h
parent593eff77fa4d9ce95f3a9e7e8207ef9ddf4dcf9b (diff)
add memfd_create syscall wrapper
Diffstat (limited to 'libc/sysdeps/linux/common/bits/mman-shared.h')
-rw-r--r--libc/sysdeps/linux/common/bits/mman-shared.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/bits/mman-shared.h b/libc/sysdeps/linux/common/bits/mman-shared.h
index 98c9e1d3c..c40ae2d1e 100644
--- a/libc/sysdeps/linux/common/bits/mman-shared.h
+++ b/libc/sysdeps/linux/common/bits/mman-shared.h
@@ -40,11 +40,9 @@
__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. */