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.I am somewhat struggling to comprehend the changes (steep learning curve), if you could guide me on what files to look for, i am sure i can find my way from there.
and Thanks Greg.
--big fan :)
--big fan :)
On Thu, Mar 20, 2014 at 11:11 PM, Greg KH <greg@xxxxxxxxx> wrote:
On Thu, Mar 20, 2014 at 10:55:42PM +0530, arun kumar wrote:That really sounds like a homework question...
> 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.
Why do you want to do this, and what have you tried to do that has
failed?
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies