2003-03-17 Roland McGrath <roland@redhat.com>

* linux/x86_64/syscallent.h: clone takes 5 args.
	* process.c [LINUX] (sys_clone) [X86_64]: Fix argument order.
This commit is contained in:
Roland McGrath 2003-03-18 07:43:42 +00:00
parent f22e0c70eb
commit 361aac5193
2 changed files with 7 additions and 1 deletions

View File

@ -54,7 +54,7 @@
{ 4, TN, sys_socketpair, "socketpair" }, /* 53 */
{ 5, TN, sys_setsockopt, "setsockopt" }, /* 54 */
{ 5, TN, sys_getsockopt, "getsockopt" }, /* 55 */
{ 2, TP, sys_clone, "clone" }, /* 56 */
{ 5, TP, sys_clone, "clone" }, /* 56 */
{ 0, TP, sys_fork, "fork" }, /* 57 */
{ 0, TP, sys_vfork, "vfork" }, /* 58 */
{ 3, TF|TP, sys_execve, "execve" }, /* 59 */

View File

@ -538,6 +538,12 @@ extern void print_ldt_entry();
# define ARG_PTID 2
# define ARG_TLS 3
# define ARG_CTID 4
# elif defined X86_64
# define ARG_FLAGS 0
# define ARG_STACK 1
# define ARG_PTID 2
# define ARG_CTID 3
# define ARG_TLS 4
# else
# define ARG_FLAGS 0
# define ARG_STACK 1