module: add finit_module syscall to asm-generic
PATCH 1/1 module: add finit_module syscall to asm-generic
This adds the finit_module syscall to the generic syscall list.
---
This depends on the finit_module patchset in Rusty's tree, based on
https://lkml.org/lkml/2012/9/7/559
--- include/asm-generic/unistd.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
include/asm-generic/unistd.h +3 -1
@@ -691,9 +691,11 @@ __SC_COMP(__NR_process_vm_readv, sys_process_vm_readv, \#define __NR_process_vm_writev 271__SC_COMP (__NR_process_vm_writev, sys_process_vm_writev, \ compat_sys_process_vm_writev) +#define __NR_finit_module 272 +__SYSCALL(__NR_finit_module, sys_finit_module)#undef __NR_syscalls -#define __NR_syscalls 272 +#define __NR_syscalls 273/* * All syscalls below here should go away really,
Signature · 6 lines
1.7.0.4 -- Kees Cook Chrome OS Security
Quoted 7 lines · Kees Cook
This adds the
finit_modulesyscall to the generic syscall list.Signed-off-by Kees Cook <[email protected]>---
This depends on thefinit_modulepatchset in Rusty's tree, based on
https://lkml.org/lkml/2012/9/7/559
Please queue this along with the other patches.
Quoted 4 lines · Arnd Bergmann
Quoted 3 lines · Kees Cook
This adds the
finit_modulesyscall to the generic syscall list.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Kees Cook <[email protected]>---
This depends on thefinit_modulepatchset in Rusty's tree, based on
https://lkml.org/lkml/2012/9/7/559Acked-by Arnd Bergmann <[email protected]>Please queue this along with the other patches.
OK, I'm still holding them back from linux-next due to the question of signatures & the new syscall. But I expect we'll resign ourselves to an appended signature, and they'll be fine as-is.
Cheers,
Rusty.