From 62eaf40bf4247751f630faa3c853eacf81874c94 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 25 Dec 2016 10:41:06 +0100 Subject: add pkey_{mprotect,alloc,free} syscalls from linux v4.9 see linux commit e8c24d3a23a469f1f40d4de24d872ca7023ced0a and linux Documentation/x86/protection-keys.txt --- arch/x86_64/bits/syscall.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/x86_64/bits') 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 -- cgit v1.2.1