浏览代码

powerpc: add pkey syscall numbers from linux v4.16

add pkey_mprotect, pkey_alloc, pkey_free syscall numbers,
new in linux commits 3350eb2ea127978319ced883523d828046af4045
and 9499ec1b5e82321829e1c1510bcc37edc20b6f38
Szabolcs Nagy 6 年之前
父节点
当前提交
90ac71d853
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 3 0
      arch/powerpc/bits/syscall.h.in
  2. 3 0
      arch/powerpc64/bits/syscall.h.in

+ 3 - 0
arch/powerpc/bits/syscall.h.in

@@ -368,4 +368,7 @@
 #define __NR_pwritev2              381
 #define __NR_kexec_file_load       382
 #define __NR_statx                 383
+#define __NR_pkey_alloc            384
+#define __NR_pkey_free             385
+#define __NR_pkey_mprotect         386
 

+ 3 - 0
arch/powerpc64/bits/syscall.h.in

@@ -359,4 +359,7 @@
 #define __NR_pwritev2               381
 #define __NR_kexec_file_load        382
 #define __NR_statx                  383
+#define __NR_pkey_alloc             384
+#define __NR_pkey_free              385
+#define __NR_pkey_mprotect          386