diff options
author | Gaƫl PORTAY <gael.portay@rtone.fr> | 2024-02-18 03:26:43 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-02-22 19:22:38 -0500 |
commit | a526314c8057eeecbdbd6965b1620cfe3ae6e8f3 (patch) | |
tree | 39818117122eed7872ae3cb60de940fa6546667d /arch | |
parent | 19563e1850808af216b1b84263bb7e83cccce506 (diff) | |
download | musl-a526314c8057eeecbdbd6965b1620cfe3ae6e8f3.tar.gz musl-a526314c8057eeecbdbd6965b1620cfe3ae6e8f3.tar.xz musl-a526314c8057eeecbdbd6965b1620cfe3ae6e8f3.zip |
bits/syscall.h: add memfd_secret from linux v5.14
see linux commit 7bb7f2ac24a028b20fca466b9633847b289b156a arch, mm: wire up memfd_secret system call where relevant linux commit 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 mm: introduce memfd_secret system call to create "secret" memory areas linux commit b633896314c0f78f2b4eb7b19a530d68f2a35445 tools headers UAPI: Sync s390 syscall table file that wires up the memfd_secret syscall
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/bits/syscall.h.in | 1 | ||||
-rw-r--r-- | arch/s390x/bits/syscall.h.in | 1 | ||||
-rw-r--r-- | arch/x32/bits/syscall.h.in | 1 | ||||
-rw-r--r-- | arch/x86_64/bits/syscall.h.in | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in index 46ffe1d9..8baf6de7 100644 --- a/arch/i386/bits/syscall.h.in +++ b/arch/i386/bits/syscall.h.in @@ -436,4 +436,5 @@ #define __NR_landlock_create_ruleset 444 #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 +#define __NR_memfd_secret 447 diff --git a/arch/s390x/bits/syscall.h.in b/arch/s390x/bits/syscall.h.in index dfc38479..58697e5b 100644 --- a/arch/s390x/bits/syscall.h.in +++ b/arch/s390x/bits/syscall.h.in @@ -362,4 +362,5 @@ #define __NR_landlock_create_ruleset 444 #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 +#define __NR_memfd_secret 447 diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in index 5d22fa17..b3b07eef 100644 --- a/arch/x32/bits/syscall.h.in +++ b/arch/x32/bits/syscall.h.in @@ -308,6 +308,7 @@ #define __NR_landlock_create_ruleset (0x40000000 + 444) #define __NR_landlock_add_rule (0x40000000 + 445) #define __NR_landlock_restrict_self (0x40000000 + 446) +#define __NR_memfd_secret (0x40000000 + 447) #define __NR_rt_sigaction (0x40000000 + 512) diff --git a/arch/x86_64/bits/syscall.h.in b/arch/x86_64/bits/syscall.h.in index c3882de7..a81aa94a 100644 --- a/arch/x86_64/bits/syscall.h.in +++ b/arch/x86_64/bits/syscall.h.in @@ -355,4 +355,5 @@ #define __NR_landlock_create_ruleset 444 #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 +#define __NR_memfd_secret 447 |