Adding a System Call (kernel 3.8.8)
Registering a System Call Prepare the kernel 3.8.8 source code. First, add the name of the system call you want to add to the end of syscalls_32.tbl as shown below. Remember the number at this time (351 here). Next, write the prototype at the end of syscalls.h. $ cd /usr/src/linux-3.8.8 $ sudo vim arch/x86/syscalls/syscall_32.tbl 351 i356 kanako sys_kanako # Add at the end $ sudo vim include/linux/syscalls.h asmlinkage long sys_kanako(void); # Add at the end System Call Implementation Write the system call implementation at the end of sys....