svn commit: r248533 - in stable/9/sys: amd64/linux32 i386/linux

Jung-uk Kim jkim at FreeBSD.org
Tue Mar 19 20:20:02 UTC 2013


Author: jkim
Date: Tue Mar 19 20:20:00 2013
New Revision: 248533
URL: http://svnweb.freebsd.org/changeset/base/248533

Log:
  Regen for r248532.

Modified:
  stable/9/sys/amd64/linux32/linux32_proto.h
  stable/9/sys/amd64/linux32/linux32_syscall.h
  stable/9/sys/amd64/linux32/linux32_syscalls.c
  stable/9/sys/amd64/linux32/linux32_sysent.c
  stable/9/sys/amd64/linux32/linux32_systrace_args.c
  stable/9/sys/i386/linux/linux_proto.h
  stable/9/sys/i386/linux/linux_syscall.h
  stable/9/sys/i386/linux/linux_syscalls.c
  stable/9/sys/i386/linux/linux_sysent.c
  stable/9/sys/i386/linux/linux_systrace_args.c

Modified: stable/9/sys/amd64/linux32/linux32_proto.h
==============================================================================
--- stable/9/sys/amd64/linux32/linux32_proto.h	Tue Mar 19 20:18:30 2013	(r248532)
+++ stable/9/sys/amd64/linux32/linux32_proto.h	Tue Mar 19 20:20:00 2013	(r248533)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/9/sys/amd64/linux32/syscalls.master 234316 2012-04-15 16:52:48Z netchild 
+ * created from FreeBSD: stable/9/sys/amd64/linux32/syscalls.master 248532 2013-03-19 20:18:30Z jkim 
  */
 
 #ifndef _LINUX_SYSPROTO_H_
@@ -152,7 +152,7 @@ struct linux_rmdir_args {
 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 };
 struct linux_pipe_args {
-	char pipefds_l_[PADL_(l_ulong *)]; l_ulong * pipefds; char pipefds_r_[PADR_(l_ulong *)];
+	char pipefds_l_[PADL_(l_int *)]; l_int * pipefds; char pipefds_r_[PADR_(l_int *)];
 };
 struct linux_times_args {
 	char buf_l_[PADL_(struct l_times_argv *)]; struct l_times_argv * buf; char buf_r_[PADR_(struct l_times_argv *)];
@@ -1044,7 +1044,8 @@ struct linux_dup3_args {
 	register_t dummy;
 };
 struct linux_pipe2_args {
-	register_t dummy;
+	char pipefds_l_[PADL_(l_int *)]; l_int * pipefds; char pipefds_r_[PADR_(l_int *)];
+	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
 };
 struct linux_inotify_init1_args {
 	register_t dummy;

Modified: stable/9/sys/amd64/linux32/linux32_syscall.h
==============================================================================
--- stable/9/sys/amd64/linux32/linux32_syscall.h	Tue Mar 19 20:18:30 2013	(r248532)
+++ stable/9/sys/amd64/linux32/linux32_syscall.h	Tue Mar 19 20:20:00 2013	(r248533)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/9/sys/amd64/linux32/syscalls.master 234316 2012-04-15 16:52:48Z netchild 
+ * created from FreeBSD: stable/9/sys/amd64/linux32/syscalls.master 248532 2013-03-19 20:18:30Z jkim 
  */
 
 #define	LINUX_SYS_exit	1

Modified: stable/9/sys/amd64/linux32/linux32_syscalls.c
==============================================================================
--- stable/9/sys/amd64/linux32/linux32_syscalls.c	Tue Mar 19 20:18:30 2013	(r248532)
+++ stable/9/sys/amd64/linux32/linux32_syscalls.c	Tue Mar 19 20:20:00 2013	(r248533)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/9/sys/amd64/linux32/syscalls.master 234316 2012-04-15 16:52:48Z netchild 
+ * created from FreeBSD: stable/9/sys/amd64/linux32/syscalls.master 248532 2013-03-19 20:18:30Z jkim 
  */
 
 const char *linux_syscallnames[] = {

Modified: stable/9/sys/amd64/linux32/linux32_sysent.c
==============================================================================
--- stable/9/sys/amd64/linux32/linux32_sysent.c	Tue Mar 19 20:18:30 2013	(r248532)
+++ stable/9/sys/amd64/linux32/linux32_sysent.c	Tue Mar 19 20:20:00 2013	(r248533)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/9/sys/amd64/linux32/syscalls.master 234316 2012-04-15 16:52:48Z netchild 
+ * created from FreeBSD: stable/9/sys/amd64/linux32/syscalls.master 248532 2013-03-19 20:18:30Z jkim 
  */
 
 #include "opt_compat.h"
@@ -350,7 +350,7 @@ struct sysent linux_sysent[] = {
 	{ 0, (sy_call_t *)linux_eventfd2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 328 = linux_eventfd2 */
 	{ 0, (sy_call_t *)linux_epoll_create1, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 329 = linux_epoll_create1 */
 	{ 0, (sy_call_t *)linux_dup3, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 330 = linux_dup3 */
-	{ 0, (sy_call_t *)linux_pipe2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 331 = linux_pipe2 */
+	{ AS(linux_pipe2_args), (sy_call_t *)linux_pipe2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 331 = linux_pipe2 */
 	{ 0, (sy_call_t *)linux_inotify_init1, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 332 = linux_inotify_init1 */
 	{ 0, (sy_call_t *)linux_preadv, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 333 = linux_preadv */
 	{ 0, (sy_call_t *)linux_pwritev, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 334 = linux_pwritev */

Modified: stable/9/sys/amd64/linux32/linux32_systrace_args.c
==============================================================================
--- stable/9/sys/amd64/linux32/linux32_systrace_args.c	Tue Mar 19 20:18:30 2013	(r248532)
+++ stable/9/sys/amd64/linux32/linux32_systrace_args.c	Tue Mar 19 20:20:00 2013	(r248533)
@@ -287,7 +287,7 @@ systrace_args(int sysnum, void *params, 
 	/* linux_pipe */
 	case 42: {
 		struct linux_pipe_args *p = params;
-		uarg[0] = (intptr_t) p->pipefds; /* l_ulong * */
+		uarg[0] = (intptr_t) p->pipefds; /* l_int * */
 		*n_args = 1;
 		break;
 	}
@@ -2171,7 +2171,10 @@ systrace_args(int sysnum, void *params, 
 	}
 	/* linux_pipe2 */
 	case 331: {
-		*n_args = 0;
+		struct linux_pipe2_args *p = params;
+		uarg[0] = (intptr_t) p->pipefds; /* l_int * */
+		iarg[1] = p->flags; /* l_int */
+		*n_args = 2;
 		break;
 	}
 	/* linux_inotify_init1 */
@@ -2688,7 +2691,7 @@ systrace_setargdesc(int sysnum, int ndx,
 	case 42:
 		switch(ndx) {
 		case 0:
-			p = "l_ulong *";
+			p = "l_int *";
 			break;
 		default:
 			break;
@@ -5364,6 +5367,16 @@ systrace_setargdesc(int sysnum, int ndx,
 		break;
 	/* linux_pipe2 */
 	case 331:
+		switch(ndx) {
+		case 0:
+			p = "l_int *";
+			break;
+		case 1:
+			p = "l_int";
+			break;
+		default:
+			break;
+		};
 		break;
 	/* linux_inotify_init1 */
 	case 332:

Modified: stable/9/sys/i386/linux/linux_proto.h
==============================================================================
--- stable/9/sys/i386/linux/linux_proto.h	Tue Mar 19 20:18:30 2013	(r248532)
+++ stable/9/sys/i386/linux/linux_proto.h	Tue Mar 19 20:20:00 2013	(r248533)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/9/sys/i386/linux/syscalls.master 234316 2012-04-15 16:52:48Z netchild 
+ * created from FreeBSD: stable/9/sys/i386/linux/syscalls.master 248532 2013-03-19 20:18:30Z jkim 
  */
 
 #ifndef _LINUX_SYSPROTO_H_
@@ -156,7 +156,7 @@ struct linux_rmdir_args {
 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 };
 struct linux_pipe_args {
-	char pipefds_l_[PADL_(l_ulong *)]; l_ulong * pipefds; char pipefds_r_[PADR_(l_ulong *)];
+	char pipefds_l_[PADL_(l_int *)]; l_int * pipefds; char pipefds_r_[PADR_(l_int *)];
 };
 struct linux_times_args {
 	char buf_l_[PADL_(struct l_times_argv *)]; struct l_times_argv * buf; char buf_r_[PADR_(struct l_times_argv *)];
@@ -1063,7 +1063,8 @@ struct linux_dup3_args {
 	register_t dummy;
 };
 struct linux_pipe2_args {
-	register_t dummy;
+	char pipefds_l_[PADL_(l_int *)]; l_int * pipefds; char pipefds_r_[PADR_(l_int *)];
+	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
 };
 struct linux_inotify_init1_args {
 	register_t dummy;

Modified: stable/9/sys/i386/linux/linux_syscall.h
==============================================================================
--- stable/9/sys/i386/linux/linux_syscall.h	Tue Mar 19 20:18:30 2013	(r248532)
+++ stable/9/sys/i386/linux/linux_syscall.h	Tue Mar 19 20:20:00 2013	(r248533)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/9/sys/i386/linux/syscalls.master 234316 2012-04-15 16:52:48Z netchild 
+ * created from FreeBSD: stable/9/sys/i386/linux/syscalls.master 248532 2013-03-19 20:18:30Z jkim 
  */
 
 #define	LINUX_SYS_exit	1

Modified: stable/9/sys/i386/linux/linux_syscalls.c
==============================================================================
--- stable/9/sys/i386/linux/linux_syscalls.c	Tue Mar 19 20:18:30 2013	(r248532)
+++ stable/9/sys/i386/linux/linux_syscalls.c	Tue Mar 19 20:20:00 2013	(r248533)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/9/sys/i386/linux/syscalls.master 234316 2012-04-15 16:52:48Z netchild 
+ * created from FreeBSD: stable/9/sys/i386/linux/syscalls.master 248532 2013-03-19 20:18:30Z jkim 
  */
 
 const char *linux_syscallnames[] = {

Modified: stable/9/sys/i386/linux/linux_sysent.c
==============================================================================
--- stable/9/sys/i386/linux/linux_sysent.c	Tue Mar 19 20:18:30 2013	(r248532)
+++ stable/9/sys/i386/linux/linux_sysent.c	Tue Mar 19 20:20:00 2013	(r248533)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/9/sys/i386/linux/syscalls.master 234316 2012-04-15 16:52:48Z netchild 
+ * created from FreeBSD: stable/9/sys/i386/linux/syscalls.master 248532 2013-03-19 20:18:30Z jkim 
  */
 
 #include <sys/param.h>
@@ -349,7 +349,7 @@ struct sysent linux_sysent[] = {
 	{ 0, (sy_call_t *)linux_eventfd2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 328 = linux_eventfd2 */
 	{ 0, (sy_call_t *)linux_epoll_create1, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 329 = linux_epoll_create1 */
 	{ 0, (sy_call_t *)linux_dup3, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 330 = linux_dup3 */
-	{ 0, (sy_call_t *)linux_pipe2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 331 = linux_pipe2 */
+	{ AS(linux_pipe2_args), (sy_call_t *)linux_pipe2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 331 = linux_pipe2 */
 	{ 0, (sy_call_t *)linux_inotify_init1, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 332 = linux_inotify_init1 */
 	{ 0, (sy_call_t *)linux_preadv, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 333 = linux_preadv */
 	{ 0, (sy_call_t *)linux_pwritev, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 334 = linux_pwritev */

Modified: stable/9/sys/i386/linux/linux_systrace_args.c
==============================================================================
--- stable/9/sys/i386/linux/linux_systrace_args.c	Tue Mar 19 20:18:30 2013	(r248532)
+++ stable/9/sys/i386/linux/linux_systrace_args.c	Tue Mar 19 20:20:00 2013	(r248533)
@@ -295,7 +295,7 @@ systrace_args(int sysnum, void *params, 
 	/* linux_pipe */
 	case 42: {
 		struct linux_pipe_args *p = params;
-		uarg[0] = (intptr_t) p->pipefds; /* l_ulong * */
+		uarg[0] = (intptr_t) p->pipefds; /* l_int * */
 		*n_args = 1;
 		break;
 	}
@@ -2262,7 +2262,10 @@ systrace_args(int sysnum, void *params, 
 	}
 	/* linux_pipe2 */
 	case 331: {
-		*n_args = 0;
+		struct linux_pipe2_args *p = params;
+		uarg[0] = (intptr_t) p->pipefds; /* l_int * */
+		iarg[1] = p->flags; /* l_int */
+		*n_args = 2;
 		break;
 	}
 	/* linux_inotify_init1 */
@@ -2792,7 +2795,7 @@ systrace_setargdesc(int sysnum, int ndx,
 	case 42:
 		switch(ndx) {
 		case 0:
-			p = "l_ulong *";
+			p = "l_int *";
 			break;
 		default:
 			break;
@@ -5660,6 +5663,16 @@ systrace_setargdesc(int sysnum, int ndx,
 		break;
 	/* linux_pipe2 */
 	case 331:
+		switch(ndx) {
+		case 0:
+			p = "l_int *";
+			break;
+		case 1:
+			p = "l_int";
+			break;
+		default:
+			break;
+		};
 		break;
 	/* linux_inotify_init1 */
 	case 332:


More information about the svn-src-all mailing list