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 | |
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')
-rw-r--r-- | arch/aarch64/bits/syscall.h.in | 3 | ||||
-rw-r--r-- | arch/arm/bits/syscall.h.in | 3 | ||||
-rw-r--r-- | arch/i386/bits/syscall.h.in | 3 | ||||
-rw-r--r-- | arch/mips/bits/syscall.h.in | 3 | ||||
-rw-r--r-- | arch/mips64/bits/syscall.h.in | 3 | ||||
-rw-r--r-- | arch/mipsn32/bits/syscall.h.in | 3 | ||||
-rw-r--r-- | arch/or1k/bits/syscall.h.in | 3 | ||||
-rw-r--r-- | arch/x32/bits/syscall.h.in | 3 | ||||
-rw-r--r-- | arch/x86_64/bits/syscall.h.in | 3 |
9 files changed, 27 insertions, 0 deletions
diff --git a/arch/aarch64/bits/syscall.h.in b/arch/aarch64/bits/syscall.h.in index 332f437d..fd388eec 100644 --- a/arch/aarch64/bits/syscall.h.in +++ b/arch/aarch64/bits/syscall.h.in @@ -271,4 +271,7 @@ #define __NR_copy_file_range 285 #define __NR_preadv2 286 #define __NR_pwritev2 287 +#define __NR_pkey_mprotect 288 +#define __NR_pkey_alloc 289 +#define __NR_pkey_free 290 diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in index 04c8b1cf..9b129b23 100644 --- a/arch/arm/bits/syscall.h.in +++ b/arch/arm/bits/syscall.h.in @@ -347,6 +347,9 @@ #define __NR_copy_file_range 391 #define __NR_preadv2 392 #define __NR_pwritev2 393 +#define __NR_pkey_mprotect 394 +#define __NR_pkey_alloc 395 +#define __NR_pkey_free 396 #define __ARM_NR_breakpoint 0x0f0001 #define __ARM_NR_cacheflush 0x0f0002 diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in index 5fe9c5c4..3a1d9270 100644 --- a/arch/i386/bits/syscall.h.in +++ b/arch/i386/bits/syscall.h.in @@ -378,4 +378,7 @@ #define __NR_copy_file_range 377 #define __NR_preadv2 378 #define __NR_pwritev2 379 +#define __NR_pkey_mprotect 380 +#define __NR_pkey_alloc 381 +#define __NR_pkey_free 382 diff --git a/arch/mips/bits/syscall.h.in b/arch/mips/bits/syscall.h.in index bcceaa2a..6c9b3d8c 100644 --- a/arch/mips/bits/syscall.h.in +++ b/arch/mips/bits/syscall.h.in @@ -360,4 +360,7 @@ #define __NR_copy_file_range 4360 #define __NR_preadv2 4361 #define __NR_pwritev2 4362 +#define __NR_pkey_mprotect 4363 +#define __NR_pkey_alloc 4364 +#define __NR_pkey_free 4365 diff --git a/arch/mips64/bits/syscall.h.in b/arch/mips64/bits/syscall.h.in index eef85435..a207133c 100644 --- a/arch/mips64/bits/syscall.h.in +++ b/arch/mips64/bits/syscall.h.in @@ -320,4 +320,7 @@ #define __NR_copy_file_range 5320 #define __NR_preadv2 5321 #define __NR_pwritev2 5322 +#define __NR_pkey_mprotect 5323 +#define __NR_pkey_alloc 5324 +#define __NR_pkey_free 5325 diff --git a/arch/mipsn32/bits/syscall.h.in b/arch/mipsn32/bits/syscall.h.in index 5fda0b57..d6b24e8f 100644 --- a/arch/mipsn32/bits/syscall.h.in +++ b/arch/mipsn32/bits/syscall.h.in @@ -324,4 +324,7 @@ #define __NR_copy_file_range 6324 #define __NR_preadv2 6325 #define __NR_pwritev2 6326 +#define __NR_pkey_mprotect 6327 +#define __NR_pkey_alloc 6328 +#define __NR_pkey_free 6329 diff --git a/arch/or1k/bits/syscall.h.in b/arch/or1k/bits/syscall.h.in index c6b6cf2c..89788a9d 100644 --- a/arch/or1k/bits/syscall.h.in +++ b/arch/or1k/bits/syscall.h.in @@ -271,4 +271,7 @@ #define __NR_copy_file_range 285 #define __NR_preadv2 286 #define __NR_pwritev2 287 +#define __NR_pkey_mprotect 288 +#define __NR_pkey_alloc 289 +#define __NR_pkey_free 290 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) diff --git a/arch/x86_64/bits/syscall.h.in b/arch/x86_64/bits/syscall.h.in index d0c55185..6e743dfb 100644 --- a/arch/x86_64/bits/syscall.h.in +++ b/arch/x86_64/bits/syscall.h.in @@ -327,4 +327,7 @@ #define __NR_copy_file_range 326 #define __NR_preadv2 327 #define __NR_pwritev2 328 +#define __NR_pkey_mprotect 329 +#define __NR_pkey_alloc 330 +#define __NR_pkey_free 331 |