diff options
author | Szabolcs Nagy <nsz@port70.net> | 2016-12-25 10:41:06 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-12-29 22:10:19 -0500 |
commit | 62eaf40bf4247751f630faa3c853eacf81874c94 (patch) | |
tree | cba498c87920ca99c2ae7d38a8c6df5ad498c21f /arch/x32 | |
parent | 5bf7eba213cacc4c1220627c91c28deff2ffecda (diff) | |
download | musl-62eaf40bf4247751f630faa3c853eacf81874c94.tar.gz musl-62eaf40bf4247751f630faa3c853eacf81874c94.tar.xz musl-62eaf40bf4247751f630faa3c853eacf81874c94.zip |
add pkey_{mprotect,alloc,free} syscalls from linux v4.9
see linux commit e8c24d3a23a469f1f40d4de24d872ca7023ced0a and linux Documentation/x86/protection-keys.txt
Diffstat (limited to 'arch/x32')
-rw-r--r-- | arch/x32/bits/syscall.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in index e94dcb2f..de6cffe0 100644 --- a/arch/x32/bits/syscall.h.in +++ b/arch/x32/bits/syscall.h.in @@ -280,6 +280,9 @@ #define __NR_membarrier (0x40000000 + 324) #define __NR_mlock2 (0x40000000 + 325) #define __NR_copy_file_range (0x40000000 + 326) +#define __NR_pkey_mprotect (0x40000000 + 329) +#define __NR_pkey_alloc (0x40000000 + 330) +#define __NR_pkey_free (0x40000000 + 331) #define __NR_rt_sigaction (0x40000000 + 512) #define __NR_rt_sigreturn (0x40000000 + 513) |