From 850bb4124f364975a818d9042c74694aa9cac1b8 Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Mon, 12 Feb 2018 18:58:28 +0100 Subject: [PATCH] powerpc, powerpc64: wire up pkey_* syscalls * linux/powerpc/syscallent.h [384..386]: Add pkey_alloc, pkey_free, and pkey_mprotect syscalls introduced by linux kernel commits v4.16-rc1~93^2~70 and v4.16-rc1~93^2~69, respectively. * linux/powerpc64/syscallent.h: Likewise. * NEWS: Mention it. --- NEWS | 2 ++ linux/powerpc/syscallent.h | 3 +++ linux/powerpc64/syscallent.h | 3 +++ 3 files changed, 8 insertions(+) diff --git a/NEWS b/NEWS index 3104a3bf..a17d1140 100644 --- a/NEWS +++ b/NEWS @@ -38,6 +38,8 @@ Noteworthy changes in release ?.?? (????-??-??) * Information about availability of demangling and reliable personality decoding (on architectures with multiple personalities) is now available in strace -V output. + * Added decoding of pkey_alloc, pkey_free, and pkey_mprotect syscalls on + powerpc and powerpc64. * Enhanced manual page. * Bug fixes diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h index 2c4f5556..f6366134 100644 --- a/linux/powerpc/syscallent.h +++ b/linux/powerpc/syscallent.h @@ -411,6 +411,9 @@ [381] = { 6, TD, SEN(pwritev2), "pwritev2" }, [382] = { 5, TD, SEN(kexec_file_load), "kexec_file_load" }, [383] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[384] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, +[385] = { 1, 0, SEN(pkey_free), "pkey_free" }, +[386] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, #define SYS_socket_subcall 400 #include "subcall.h" diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h index 6a7bca78..43aed67d 100644 --- a/linux/powerpc64/syscallent.h +++ b/linux/powerpc64/syscallent.h @@ -406,6 +406,9 @@ [381] = { 6, TD, SEN(pwritev2), "pwritev2" }, [382] = { 5, TD, SEN(kexec_file_load), "kexec_file_load" }, [383] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, +[384] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" }, +[385] = { 1, 0, SEN(pkey_free), "pkey_free" }, +[386] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" }, #define SYS_socket_subcall 400 #include "subcall.h" -- 2.40.0