adding a system call

mohit verma mohit89mlnc at gmail.com
Tue Feb 22 13:44:13 EST 2011


ok  mulyadi ,
i got u late  what u  wanted to see . here are the diff files
sorry for delay.

On Wed, Feb 23, 2011 at 12:09 AM, Mulyadi Santosa <mulyadi.santosa at gmail.com
> wrote:

> On Wed, Feb 23, 2011 at 01:19, mohit verma <mohit89mlnc at gmail.com> wrote:
> > and i added:
> > 1. #define __NR_hariohm 264
> > __SYSCALL(__NR_hariohm, sys_hariohm) in unistd.h file.
>
> grepping inside unistd.h, I got
>
> #undef __NR_syscalls
> #define __NR_syscalls 264
>
> So, it seems that you violate one rule: you add a syscall but didn't
> increase the  number of total syscalls registered.
>
> Am I right or am I right?
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>



-- 
........................
*MOHIT VERMA*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110223/51a33a1b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my4
Type: application/octet-stream
Size: 454 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110223/51a33a1b/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my3
Type: application/octet-stream
Size: 529 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110223/51a33a1b/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my2
Type: application/octet-stream
Size: 517 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110223/51a33a1b/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my1
Type: application/octet-stream
Size: 375 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110223/51a33a1b/attachment-0003.obj 


More information about the Kernelnewbies mailing list