From owner-svn-src-all@FreeBSD.ORG Sat Feb 12 15:33:26 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 544081065761; Sat, 12 Feb 2011 15:33:26 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 425298FC08; Sat, 12 Feb 2011 15:33:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1CFXQLh006005; Sat, 12 Feb 2011 15:33:26 GMT (envelope-from dchagin@svn.freebsd.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1CFXQr6006002; Sat, 12 Feb 2011 15:33:26 GMT (envelope-from dchagin@svn.freebsd.org) Message-Id: <201102121533.p1CFXQr6006002@svn.freebsd.org> From: Dmitry Chagin Date: Sat, 12 Feb 2011 15:33:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218610 - in head/sys: amd64/linux32 i386/linux X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 15:33:26 -0000 Author: dchagin Date: Sat Feb 12 15:33:25 2011 New Revision: 218610 URL: http://svn.freebsd.org/changeset/base/218610 Log: The fourth argument of linux_clone is a pointer to the TLS. Change clone syscall definition to match actual linux one. Modified: head/sys/amd64/linux32/syscalls.master head/sys/i386/linux/syscalls.master Modified: head/sys/amd64/linux32/syscalls.master ============================================================================== --- head/sys/amd64/linux32/syscalls.master Sat Feb 12 15:24:52 2011 (r218609) +++ head/sys/amd64/linux32/syscalls.master Sat Feb 12 15:33:25 2011 (r218610) @@ -213,9 +213,8 @@ 118 AUE_FSYNC NOPROTO { int fsync(int fd); } 119 AUE_SIGRETURN STD { int linux_sigreturn( \ struct l_sigframe *sfp); } -; linux uses some strange calling convention here so we have to use the dummy arg 120 AUE_RFORK STD { int linux_clone(l_int flags, void *stack, \ - void *parent_tidptr, int dummy, void * child_tidptr); } + void *parent_tidptr, void *tls, void * child_tidptr); } 121 AUE_SYSCTL STD { int linux_setdomainname(char *name, \ int len); } 122 AUE_NULL STD { int linux_newuname( \ Modified: head/sys/i386/linux/syscalls.master ============================================================================== --- head/sys/i386/linux/syscalls.master Sat Feb 12 15:24:52 2011 (r218609) +++ head/sys/i386/linux/syscalls.master Sat Feb 12 15:33:25 2011 (r218610) @@ -214,9 +214,8 @@ 118 AUE_FSYNC NOPROTO { int fsync(int fd); } 119 AUE_SIGRETURN STD { int linux_sigreturn( \ struct l_sigframe *sfp); } -; linux uses some strange calling convention here so we have to use the dummy arg 120 AUE_RFORK STD { int linux_clone(l_int flags, void *stack, \ - void *parent_tidptr, int dummy, void * child_tidptr); } + void *parent_tidptr, void *tls, void * child_tidptr); } 121 AUE_SYSCTL STD { int linux_setdomainname(char *name, \ int len); } 122 AUE_NULL STD { int linux_newuname( \