From: Janak Desai <janak@us.ibm.com>
To: viro@ZenIV.linux.org.uk, akpm@osdl.org
Cc: hch@infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] (repost) New System call, unshare
Date: Wed, 7 Sep 2005 13:43:09 -0400 (Eastern Daylight Time) [thread overview]
Message-ID: <Pine.WNT.4.63.0509071340570.3520@IBM-AIP3070F3AM> (raw)
[PATCH 2/2] unshare system call: System Call setup for i386 arch
Signed-off-by: Janak Desai
arch/i386/kernel/syscall_table.S | 1 +
include/asm-i386/unistd.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff -Naurp linux-2.6.13-mm1/arch/i386/kernel/syscall_table.S linux-2.6.13-mm1+unshare-patch2/arch/i386/kernel/syscall_table.S
--- linux-2.6.13-mm1/arch/i386/kernel/syscall_table.S 2005-09-07 13:24:01.000000000 +0000
+++ linux-2.6.13-mm1+unshare-patch2/arch/i386/kernel/syscall_table.S 2005-09-07 13:40:42.000000000 +0000
@@ -300,3 +300,4 @@ ENTRY(sys_call_table)
.long sys_vperfctr_control
.long sys_vperfctr_write
.long sys_vperfctr_read
+ .long sys_unshare /* 300 */
diff -Naurp linux-2.6.13-mm1/include/asm-i386/unistd.h linux-2.6.13-mm1+unshare-patch2/include/asm-i386/unistd.h
--- linux-2.6.13-mm1/include/asm-i386/unistd.h 2005-09-07 13:24:52.000000000 +0000
+++ linux-2.6.13-mm1+unshare-patch2/include/asm-i386/unistd.h 2005-09-07 13:40:42.000000000 +0000
@@ -305,8 +305,9 @@
#define __NR_vperfctr_control (__NR_vperfctr_open+1)
#define __NR_vperfctr_write (__NR_vperfctr_open+2)
#define __NR_vperfctr_read (__NR_vperfctr_open+3)
+#define __NR_unshare 300
-#define NR_syscalls 300
+#define NR_syscalls 301
/*
* user-visible error numbers are in the range -1 - -128: see
reply other threads:[~2005-09-07 17:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=Pine.WNT.4.63.0509071340570.3520@IBM-AIP3070F3AM \
--to=janak@us.ibm.com \
--cc=akpm@osdl.org \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@ZenIV.linux.org.uk \
/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
all inboxes | Powered by JetHome®