From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Thu, 20 Mar 2014 12:26:29 -0700 Subject: Fwd: Adding custom system calls In-Reply-To: References: <20140320174129.GA19458@kroah.com> Message-ID: <20140320192629.GA2273@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 /arch subtree of the kernel. > my intentions are entirely academic. > > Currently working on kernelVer: 3.12.14 > 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. There's loads of "how to add a syscall to Linux" tutorials out there, what have you tried and what errors have you gotten when following them? greg k-h