Date: Wed, 2 Mar 2011 06:23:19 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r219171 - in stable/8/sys: amd64/linux32 i386/linux Message-ID: <201103020623.p226NJ4G083365@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dchagin Date: Wed Mar 2 06:23:19 2011 New Revision: 219171 URL: http://svn.freebsd.org/changeset/base/219171 Log: MFC r218610: The fourth argument of linux_clone is a pointer to the TLS. Change clone syscall definition to match actual linux one. Modified: stable/8/sys/amd64/linux32/syscalls.master stable/8/sys/i386/linux/syscalls.master Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/amd64/linux32/syscalls.master ============================================================================== --- stable/8/sys/amd64/linux32/syscalls.master Wed Mar 2 06:22:18 2011 (r219170) +++ stable/8/sys/amd64/linux32/syscalls.master Wed Mar 2 06:23:19 2011 (r219171) @@ -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: stable/8/sys/i386/linux/syscalls.master ============================================================================== --- stable/8/sys/i386/linux/syscalls.master Wed Mar 2 06:22:18 2011 (r219170) +++ stable/8/sys/i386/linux/syscalls.master Wed Mar 2 06:23:19 2011 (r219171) @@ -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( \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103020623.p226NJ4G083365>