system call returns -1
Rami Rosen
roszenrami at gmail.com
Fri May 2 03:20:48 EDT 2014
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 at gmail.com> 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 at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
More information about the Kernelnewbies
mailing list