Messages in this thread Patch in this message | | | From | Rusty Russell <> | Subject | Re: [PATCH 4/4] add finit_module syscall to asm-generic | Date | Fri, 05 Oct 2012 13:26:50 +0930 |
| |
Kees Cook <keescook@chromium.org> writes:
> This adds the finit_module syscall to the generic syscall list.
This does ppc. Ben, please Ack.
From: Rusty Russell <rusty@rustcorp.com.au> Subject: powerpc: add finit_module syscall.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h index 8408387..d0b27f8 100644 --- a/arch/powerpc/include/asm/systbl.h +++ b/arch/powerpc/include/asm/systbl.h @@ -356,3 +356,4 @@ COMPAT_SYS_SPU(sendmmsg) SYSCALL_SPU(setns) COMPAT_SYS(process_vm_readv) COMPAT_SYS(process_vm_writev) +SYSCALL(finit_module) diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h index c683fa3..3d588bb 100644 --- a/arch/powerpc/include/asm/unistd.h +++ b/arch/powerpc/include/asm/unistd.h @@ -375,10 +375,11 @@ #define __NR_setns 350 #define __NR_process_vm_readv 351 #define __NR_process_vm_writev 352 +#define __NR_finit_module 353 #ifdef __KERNEL__ -#define __NR_syscalls 353 +#define __NR_syscalls 354 #define __NR__exit __NR_exit #define NR_syscalls __NR_syscalls
| |