ARM: add finit_module syscall to ARM
authorKees Cook <keescook@chromium.org>
Tue, 16 Oct 2012 02:08:47 +0000 (12:38 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 14 Dec 2012 02:35:25 +0000 (13:05 +1030)
Add finit_module syscall to the ARM syscall list.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/arm/include/uapi/asm/unistd.h
arch/arm/kernel/calls.S

index ac03bdb4ae442a5e7b0a69cf0252ad84894c1b58..4da7cde70b5d3fac435bdbf13b3dcc9c298be4c7 100644 (file)
 #define __NR_process_vm_readv          (__NR_SYSCALL_BASE+376)
 #define __NR_process_vm_writev         (__NR_SYSCALL_BASE+377)
                                        /* 378 for kcmp */
+#define __NR_finit_module              (__NR_SYSCALL_BASE+379)
 
 /*
  * This may need to be greater than __NR_last_syscall+1 in order to
index 831cd38c8d997b32f895fa077f3745c08879d99d..36e27df01b479ace6d19dd85a928777ba776ff71 100644 (file)
                CALL(sys_process_vm_readv)
                CALL(sys_process_vm_writev)
                CALL(sys_ni_syscall)    /* reserved for sys_kcmp */
+               CALL(sys_finit_module)
 #ifndef syscalls_counted
 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
 #define syscalls_counted