[PATCH] x86, pkeys: remove cruft from never-merged syscalls
From: Dave Hansen pkey_set() and pkey_get() were syscalls present in older versions of the protection keys patches. The syscall number definitions were inadvertently left in place. This patch removes them. I did a git grep and verified that these are the last places in the tree that these appear, save for the protection_keys.c tests and Documentation. Those spots talk about functions called pkey_get/set() which are wrappers for the direct PKRU instructions, not the syscalls. Signed-off-by: Dave Hansen Cc: Thomas Gleixner Cc: linux-a...@vger.kernel.org Cc: mgor...@techsingularity.net Cc: a...@arndb.de Cc: linux-...@vger.kernel.org Cc: linux...@kvack.org Cc: l...@kernel.org Cc: a...@linux-foundation.org Cc: torva...@linux-foundation.org Fixes: f9afc6197e9bb ("x86: Wire up protection keys system calls") --- b/arch/x86/entry/syscalls/syscall_32.tbl |2 -- b/arch/x86/entry/syscalls/syscall_64.tbl |2 -- 2 files changed, 4 deletions(-) diff -puN arch/x86/entry/syscalls/syscall_32.tbl~kill-x86-pkey-syscall-nr-cruft arch/x86/entry/syscalls/syscall_32.tbl --- a/arch/x86/entry/syscalls/syscall_32.tbl~kill-x86-pkey-syscall-nr-cruft 2016-10-17 13:00:11.607811388 -0700 +++ b/arch/x86/entry/syscalls/syscall_32.tbl2016-10-17 13:00:14.216930557 -0700 @@ -389,5 +389,3 @@ 380i386pkey_mprotect sys_pkey_mprotect 381i386pkey_alloc sys_pkey_alloc 382i386pkey_free sys_pkey_free -#383 i386pkey_getsys_pkey_get -#384 i386pkey_setsys_pkey_set diff -puN arch/x86/entry/syscalls/syscall_64.tbl~kill-x86-pkey-syscall-nr-cruft arch/x86/entry/syscalls/syscall_64.tbl --- a/arch/x86/entry/syscalls/syscall_64.tbl~kill-x86-pkey-syscall-nr-cruft 2016-10-17 13:00:11.609811480 -0700 +++ b/arch/x86/entry/syscalls/syscall_64.tbl2016-10-17 13:00:21.896281301 -0700 @@ -338,8 +338,6 @@ 329common pkey_mprotect sys_pkey_mprotect 330common pkey_alloc sys_pkey_alloc 331common pkey_free sys_pkey_free -#332 common pkey_getsys_pkey_get -#333 common pkey_setsys_pkey_set # # x32-specific system call numbers start at 512 to avoid cache impact _
[PATCH] x86, pkeys: remove cruft from never-merged syscalls
From: Dave Hansen pkey_set() and pkey_get() were syscalls present in older versions of the protection keys patches. The syscall number definitions were inadvertently left in place. This patch removes them. I did a git grep and verified that these are the last places in the tree that these appear, save for the protection_keys.c tests and Documentation. Those spots talk about functions called pkey_get/set() which are wrappers for the direct PKRU instructions, not the syscalls. Signed-off-by: Dave Hansen Cc: Thomas Gleixner Cc: linux-a...@vger.kernel.org Cc: mgor...@techsingularity.net Cc: a...@arndb.de Cc: linux-...@vger.kernel.org Cc: linux...@kvack.org Cc: l...@kernel.org Cc: a...@linux-foundation.org Cc: torva...@linux-foundation.org Fixes: f9afc6197e9bb ("x86: Wire up protection keys system calls") --- b/arch/x86/entry/syscalls/syscall_32.tbl |2 -- b/arch/x86/entry/syscalls/syscall_64.tbl |2 -- 2 files changed, 4 deletions(-) diff -puN arch/x86/entry/syscalls/syscall_32.tbl~kill-x86-pkey-syscall-nr-cruft arch/x86/entry/syscalls/syscall_32.tbl --- a/arch/x86/entry/syscalls/syscall_32.tbl~kill-x86-pkey-syscall-nr-cruft 2016-10-17 13:00:11.607811388 -0700 +++ b/arch/x86/entry/syscalls/syscall_32.tbl2016-10-17 13:00:14.216930557 -0700 @@ -389,5 +389,3 @@ 380i386pkey_mprotect sys_pkey_mprotect 381i386pkey_alloc sys_pkey_alloc 382i386pkey_free sys_pkey_free -#383 i386pkey_getsys_pkey_get -#384 i386pkey_setsys_pkey_set diff -puN arch/x86/entry/syscalls/syscall_64.tbl~kill-x86-pkey-syscall-nr-cruft arch/x86/entry/syscalls/syscall_64.tbl --- a/arch/x86/entry/syscalls/syscall_64.tbl~kill-x86-pkey-syscall-nr-cruft 2016-10-17 13:00:11.609811480 -0700 +++ b/arch/x86/entry/syscalls/syscall_64.tbl2016-10-17 13:00:21.896281301 -0700 @@ -338,8 +338,6 @@ 329common pkey_mprotect sys_pkey_mprotect 330common pkey_alloc sys_pkey_alloc 331common pkey_free sys_pkey_free -#332 common pkey_getsys_pkey_get -#333 common pkey_setsys_pkey_set # # x32-specific system call numbers start at 512 to avoid cache impact _