svn commit: r219171 - in stable/8/sys: amd64/linux32 i386/linux
Dmitry Chagin
dchagin at FreeBSD.org
Wed Mar 2 06:23:20 UTC 2011
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( \
More information about the svn-src-all
mailing list