aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/sys.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-10-21 11:27:27 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-10-21 15:05:29 +0200
commit9c443b75d3d00fe65408600da4751411737f43d0 (patch)
treed7f73bb33c699416ca39009588b3b550fa9c9bf2 /sys/linux/sys.txt
parent35d15c46245e9a7bc90954d0197ec0d724c744af (diff)
sys/linux: add descriptions of memfd_secret syscall
See: https://elixir.bootlin.com/linux/v5.15-rc6/source/mm/secretmem.c#L194
Diffstat (limited to 'sys/linux/sys.txt')
-rw-r--r--sys/linux/sys.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt
index 2710f71c6..bf82645ee 100644
--- a/sys/linux/sys.txt
+++ b/sys/linux/sys.txt
@@ -187,6 +187,9 @@ memfd_create(name ptr[in, string], flags flags[memfd_flags]) fd_memfd
memfd_flags = MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB
_ = MFD_HUGE_SHIFT, MFD_HUGE_MASK, MFD_HUGE_64KB, MFD_HUGE_512KB, MFD_HUGE_1MB, MFD_HUGE_2MB, MFD_HUGE_8MB, MFD_HUGE_16MB
+memfd_secret(flags flags[memfd_secret_flags]) fd
+memfd_secret_flags = O_CLOEXEC
+
resource pkey[int32]: -1
pkey_alloc(flags const[0], val flags[pkey_flags]) pkey
pkey_free(key pkey)