From: mulyadi.santosa@gmail.com (Mulyadi Santosa)
To: kernelnewbies@lists.kernelnewbies.org
Subject: adding a system call
Date: Wed, 23 Feb 2011 01:39:34 +0700 [thread overview]
Message-ID: <AANLkTi=4ayo61F71RvWukiA8uZgOB5OcZcxrSA2_O8os@mail.gmail.com> (raw)
In-Reply-To: <AANLkTin+JX3d4cz0U=_DxLNyja_a1k0YFGKvGOnkBDk7@mail.gmail.com>
On Wed, Feb 23, 2011 at 01:19, mohit verma <mohit89mlnc@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
next prev parent reply other threads:[~2011-02-22 18:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-22 15:14 adding a system call mohit verma
2011-02-22 15:18 ` mohit verma
2011-02-22 17:50 ` Mulyadi Santosa
2011-02-22 18:01 ` mohit verma
2011-02-22 18:10 ` Mulyadi Santosa
2011-02-22 18:19 ` mohit verma
2011-02-22 18:39 ` Mulyadi Santosa [this message]
2011-02-22 18:44 ` mohit verma
2011-02-22 21:21 ` Anuz Pratap Singh Tomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=4ayo61F71RvWukiA8uZgOB5OcZcxrSA2_O8os@mail.gmail.com' \
--to=mulyadi.santosa@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).