Re: Adding a dummy system call

2014-04-04 Thread Adam Fowler
Thank you both these will all be very helpful! Cheers! On Apr 4, 2014 11:11 PM, "Augusto Mecking Caringi" wrote: > On Fri, Apr 4, 2014 at 9:20 PM, Adam Fowler wrote: > >> Hi Everyone, >> I am trying to learn the linux kernel via the book Linux Kernel >> Development 3rd edition by Robert Love,

Re: Adding a dummy system call

2014-04-04 Thread Augusto Mecking Caringi
On Fri, Apr 4, 2014 at 9:20 PM, Adam Fowler wrote: > Hi Everyone, > I am trying to learn the linux kernel via the book Linux Kernel > Development 3rd edition by Robert Love, and in it he advises to use the > macro _syscallX to allow access to user added syscalls not wrapped by glibc > functions.

Re: Adding a dummy system call

2014-04-04 Thread Vitor Braga
Check out SYSCALL_DEFINEx series of macros: http://lxr.free-electrons.com/source/include/linux/syscalls.h#L171 Is this what you're looking for? Vitor. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman

Adding a dummy system call

2014-04-04 Thread Adam Fowler
Hi Everyone, I am trying to learn the linux kernel via the book Linux Kernel Development 3rd edition by Robert Love, and in it he advises to use the macro _syscallX to allow access to user added syscalls not wrapped by glibc functions. In my attempt to add a system call this macro failed me and af