Results 1 to 4 of 4
hi all,
I am new here..
I want to know how do I add my own system call to the kernel..
I understand the steps needed..but i am not sure ...
- 09-20-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 1
adding system calls in linux..
hi all,
I am new here..
I want to know how do I add my own system call to the kernel..
I understand the steps needed..but i am not sure as where to start with...
i also need to place this system call within a module..and den be able to call it..
the call route is understandable but I am not able to begin a basic implementation of the coding part..
need some guidance as to where to start from..i have the makefile , the my_syscall.c ...with entry in syscall_table.S..
btw.i need to do all this in linux 2.6.22.6..
any guidance would be of great help...
thanks in advance..
mythri
- 10-05-2007 #2Just Joined!
- Join Date
- Oct 2007
- Posts
- 1
Hi mythri same question from my side kernel 2.6.20 Redhat 9.. seems these forums are inactive.. Very badd
- 10-11-2007 #3Just Joined!
- Join Date
- Jun 2006
- Posts
- 29
Hi Mithri/Phanikiran,
Please go throught
http://www.cs.fsu.edu/~cop4610t/week...SystemCall.doc
Make sure your system call is compiled along with kernel, rebuild kernel and then test it.
Ashok Athukuri
- 10-11-2007 #4Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
Not really, have you search on the forum? These links show how you can manipulate syscalls:
http://www.linuxforums.org/programmi...ng_part_i.html
http://www.linuxforums.org/programmi...g_part_ii.html
Regards


Reply With Quote

