From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936704AbXFFWdw (ORCPT ); Wed, 6 Jun 2007 18:33:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S936455AbXFFWbE (ORCPT ); Wed, 6 Jun 2007 18:31:04 -0400 Received: from x35.xmailserver.org ([64.71.152.41]:1361 "EHLO x35.xmailserver.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936453AbXFFWbB (ORCPT ); Wed, 6 Jun 2007 18:31:01 -0400 X-AuthUser: davidel@xmailserver.org From: Davide Libenzi To: Linux Kernel Mailing List Cc: Linus Torvalds , Andrew Morton , Ulrich Drepper , Ingo Molnar , Eric Dumazet Date: Wed, 06 Jun 2007 15:30:31 -0700 Subject: [patch 8/8] fdmap v2 - wire sys_socket2 to x86-64 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-ID: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Wire the new sys_socket2 system call to the x86-64 architecture. Signed-off-by: Davide Libenzi - 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);