Hi, Nada, Return value of -1 could be EPERM, "Operation not permitted"; see: http://lxr.free-electrons.com/source/include/uapi/asm-generic/errno-base.h Can you paste the code in pastebin or some other public site? regards, Rami Rosen http://ramirose.wix.com/ramirosen On Fri, May 2, 2014 at 9:23 AM, Nada Saif <nada.saif7@xxxxxxxxx> wrote: > Hi, > > I added a new system call to kernel 2.6.32.61 - I used these commands for > complication : > > make oldconfig > make > make modules install > > It went ok with few warning messages. > > When I tried to test the system call , the function _syscall return -1, > what that means? > > > Thanks, > Nada > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@xxxxxxxxxxxxxxxxx > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies