Tuesday, March 12, 2013

Linux System Call

Good explanation to know at the basic : System call and Address space

\

To add your own system call:

  1. Add system call definition in kernel/module.c
  2. Declare system call in include/linux/syscalls.h
  3. Assign system call number in arch/x86/include/asm/unistd_32.h
  4. Add system call in system call table at correct offset from top, arch/x86/kernel/sys_call_table_32.S
Session on:
System call: How does it work and behavior of kernel and user process during system call
Kernel process and thread monitor
bionicC and libC

No comments:

Post a Comment