about summary refs log tree commit diff
path: root/arch/or1k
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-12-25 10:41:06 +0100
committerRich Felker <dalias@aerifal.cx>2016-12-29 22:10:19 -0500
commit62eaf40bf4247751f630faa3c853eacf81874c94 (patch)
treecba498c87920ca99c2ae7d38a8c6df5ad498c21f /arch/or1k
parent5bf7eba213cacc4c1220627c91c28deff2ffecda (diff)
downloadmusl-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/or1k')
-rw-r--r--arch/or1k/bits/syscall.h.in3
1 files changed, 3 insertions, 0 deletions
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