Re: adding a system call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> wrote:
On Wed, Feb 23, 2011 at 01:19, mohit verma <mohit89mlnc@xxxxxxxxx> 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

Attachment: my4
Description: Binary data

Attachment: my3
Description: Binary data

Attachment: my2
Description: Binary data

Attachment: my1
Description: Binary data

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux