Re: Adding custom system calls

2014-03-20 Thread Augusto Mecking Caringi
On Thu, Mar 20, 2014 at 2:25 PM, arun kumar wrote: > How do i add a Custom system call to my Linux Kernel. > I want to know what files to modify and where to make the entries. > > Arch : x86 64bit > Kernel: 3.12.14 > http://lmgtfy.com/?q=how+to+add+a+syscall+to+Linux+kernel+3.x :) -- Augusto

Re: Fwd: Adding custom system calls

2014-03-20 Thread Greg KH
On Fri, Mar 21, 2014 at 12:50:27AM +0530, arun kumar wrote: > > yeah it does seems like a homework question.. > > I remember doing it on KernelVersion: 2.6 by modifying some files including > unistd.h writing a wrapper for it and writing the code for it. This included > some tweaking inside the /

Fwd: Adding custom system calls

2014-03-20 Thread arun kumar
yeah it does seems like a homework question.. I remember doing it on KernelVersion: 2.6 by modifying some files including unistd.h writing a wrapper for it and writing the code for it. This included some tweaking inside the /arch subtree of the kernel. my intentions are entirely academic. Current

Re: Adding custom system calls

2014-03-20 Thread Greg KH
On Thu, Mar 20, 2014 at 10:55:42PM +0530, arun kumar wrote: > How do i add a Custom system call to my Linux Kernel. > I want to know what files to modify and where to make the entries. That really sounds like a homework question... Why do you want to do this, and what have you tried to do that ha

Adding custom system calls

2014-03-20 Thread arun kumar
How do i add a Custom system call to my Linux Kernel. I want to know what files to modify and where to make the entries. Arch : x86 64bit Kernel: 3.12.14 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailma