From: Davide Libenzi <davidel@xmailserver.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
Ulrich Drepper <drepper@redhat.com>, Ingo Molnar <mingo@elte.hu>,
Eric Dumazet <dada1@cosmosbay.com>
Subject: [patch 8/8] fdmap v2 - wire sys_socket2 to x86-64
Date: Wed, 06 Jun 2007 15:30:31 -0700 [thread overview]
Message-ID: <send-serie.davidel@xmailserver.org.4625.1181169041.8> (raw)
Wire the new sys_socket2 system call to the x86-64 architecture.
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
- Davide
Index: linux-2.6.mod/arch/x86_64/ia32/ia32entry.S
===================================================================
--- linux-2.6.mod.orig/arch/x86_64/ia32/ia32entry.S 2007-06-06 13:18:01.000000000 -0700
+++ linux-2.6.mod/arch/x86_64/ia32/ia32entry.S 2007-06-06 13:19:19.000000000 -0700
@@ -720,4 +720,5 @@
.quad compat_sys_timerfd
.quad sys_eventfd
.quad sys_nonseqfd
+ .quad sys_socket2 /* 325 */
ia32_syscall_end:
Index: linux-2.6.mod/include/asm-x86_64/unistd.h
===================================================================
--- linux-2.6.mod.orig/include/asm-x86_64/unistd.h 2007-06-06 13:18:01.000000000 -0700
+++ linux-2.6.mod/include/asm-x86_64/unistd.h 2007-06-06 13:19:19.000000000 -0700
@@ -632,6 +632,8 @@
__SYSCALL(__NR_eventfd, sys_eventfd)
#define __NR_nonseqfd 284
__SYSCALL(__NR_nonseqfd, sys_nonseqfd)
+#define __NR_socket2 285
+__SYSCALL(__NR_socket2, sys_socket2)
#ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR
Index: linux-2.6.mod/kernel/sys_ni.c
===================================================================
--- linux-2.6.mod.orig/kernel/sys_ni.c 2007-06-06 13:18:01.000000000 -0700
+++ linux-2.6.mod/kernel/sys_ni.c 2007-06-06 13:19:19.000000000 -0700
@@ -34,6 +34,7 @@
cond_syscall(sys_recvfrom);
cond_syscall(sys_recv);
cond_syscall(sys_socket);
+cond_syscall(sys_socket2);
cond_syscall(sys_setsockopt);
cond_syscall(sys_getsockopt);
cond_syscall(sys_shutdown);
reply other threads:[~2007-06-06 22:33 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=send-serie.davidel@xmailserver.org.4625.1181169041.8 \
--to=davidel@xmailserver.org \
--cc=akpm@linux-foundation.org \
--cc=dada1@cosmosbay.com \
--cc=drepper@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@linux-foundation.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
all inboxes | Powered by JetHome®