6. unistd.h
Full path of the file - /usr/src/linux/include/asm-i386/unistd.h
This file contains the system call number that is passed to the kernel through the register (EAX) when a system call is invoked.
Add "#define __NR_mycall <Last_System_Call_Num + 1>" at the end of the list.
If the last system call defined here is:
"#define __NR_vmsplice316", then add:
"#define __NR_mycall317" at the end of the list.
Increment the "NR_syscalls" by 1. So, if NR_syscalls is defined as:
"#define NR_syscalls 317", then change it to:
"#define NR_syscalls 318"