Support new memfd_secret linux syscall (447)
commitfca4a3d8e59c29bc7d239ff4de72b1260c0c23ee
authorDi Chen <dichen@redhat.com>
Thu, 14 Apr 2022 16:08:17 +0000 (15 00:08 +0800)
committerMark Wielaard <mark@klomp.org>
Tue, 19 Apr 2022 09:59:36 +0000 (19 11:59 +0200)
tree8aff448739d2d8109b32edbbdfa08f8324dc6f43
parent9c9fd9ae24b45f915f0759d32f662835c26d37c3
Support new memfd_secret linux syscall (447)

memfd_secret is a new syscall in linux 5.14. memfd_secret() is
disabled by default and a command-line option needs to be added to
enable it at boot time.

$ cat /proc/cmdline
[...] secretmem.enable=y

https://bugs.kde.org/451878
https://lwn.net/Articles/865256/
coregrind/m_syswrap/priv_syswrap-linux.h
coregrind/m_syswrap/syswrap-amd64-linux.c
coregrind/m_syswrap/syswrap-arm64-linux.c
coregrind/m_syswrap/syswrap-linux.c
coregrind/m_syswrap/syswrap-x86-linux.c
include/vki/vki-scnums-shared-linux.h