From mboxrd@z Thu Jan 1 00:00:00 1970 From: mulyadi.santosa@gmail.com (Mulyadi Santosa) Date: Wed, 23 Feb 2011 01:39:34 +0700 Subject: adding a system call In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Wed, Feb 23, 2011 at 01:19, mohit verma 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