Skip to contentSkip to conversation

add finit_module syscall to asm-generic

PATCH In review Kees Cook 1 participant 1 message Sep 21, 2012 Generic include/asm header files

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

PATCH 2/2 add finit_module syscall to asm-generic

This adds the finit_module syscall to the generic syscall list.

---
 include/asm-generic/unistd.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
include/asm-generic/unistd.h +3 -1
index 991ef01..671d746 100644
@@ -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 · 1 line
1.7.0.4