Good explanation to know at the basic : System call and Address space
\
To add your own system call:
- Add system call definition in kernel/module.c
- Declare system call in include/linux/syscalls.h
- Assign system call number in arch/x86/include/asm/unistd_32.h
- 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
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