Re: system call returns -1

2014-05-02 Thread Rami Rosen
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:2

system call returns -1

2014-05-01 Thread Nada Saif
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 __