add pkey_{mprotect,alloc,free} syscalls from linux v4.9

see linux commit e8c24d3a23a469f1f40d4de24d872ca7023ced0a
and linux Documentation/x86/protection-keys.txt
This commit is contained in:
Szabolcs Nagy
2016-12-29 22:10:19 -05:00
committed by Rich Felker
parent 5bf7eba213
commit 62eaf40bf4
9 changed files with 27 additions and 0 deletions
+3
View File
@@ -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