Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

add finit_module syscall to asm-generic

This adds the finit_module syscall to the generic syscall list.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

authored by

Kees Cook and committed by
Rusty Russell
1625cee5 4926f652

+3 -1
+3 -1
include/uapi/asm-generic/unistd.h
··· 690 690 compat_sys_process_vm_writev) 691 691 #define __NR_kcmp 272 692 692 __SYSCALL(__NR_kcmp, sys_kcmp) 693 + #define __NR_finit_module 273 694 + __SYSCALL(__NR_finit_module, sys_finit_module) 693 695 694 696 #undef __NR_syscalls 695 - #define __NR_syscalls 273 697 + #define __NR_syscalls 274 696 698 697 699 /* 698 700 * All syscalls below here should go away really,