svn commit: r247171 - in user/dchagin/lemul/sys: amd64/linux32 i386/linux

Dmitry Chagin dchagin at FreeBSD.org
Sat Feb 23 08:16:03 UTC 2013


Author: dchagin
Date: Sat Feb 23 08:16:00 2013
New Revision: 247171
URL: http://svnweb.freebsd.org/changeset/base/247171

Log:
      Regen for r247169.

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

Modified: user/dchagin/lemul/sys/amd64/linux32/linux32_proto.h
==============================================================================
--- user/dchagin/lemul/sys/amd64/linux32/linux32_proto.h	Sat Feb 23 08:05:04 2013	(r247170)
+++ user/dchagin/lemul/sys/amd64/linux32/linux32_proto.h	Sat Feb 23 08:16:00 2013	(r247171)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 236026 2012-05-25 21:50:48Z ed 
+ * created from FreeBSD: user/dchagin/lemul/sys/amd64/linux32/syscalls.master 247169 2013-02-23 07:55:27Z dchagin 
  */
 
 #ifndef _LINUX_SYSPROTO_H_
@@ -34,6 +34,9 @@ struct thread;
 #endif
 
 #define	nosys	linux_nosys
+struct linux_exit_args {
+	char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)];
+};
 struct linux_fork_args {
 	register_t dummy;
 };
@@ -1098,6 +1101,7 @@ struct linux_process_vm_writev_args {
 	register_t dummy;
 };
 #define	nosys	linux_nosys
+int	linux_exit(struct thread *, struct linux_exit_args *);
 int	linux_fork(struct thread *, struct linux_fork_args *);
 int	linux_open(struct thread *, struct linux_open_args *);
 int	linux_waitpid(struct thread *, struct linux_waitpid_args *);
@@ -1400,6 +1404,7 @@ int	linux_process_vm_writev(struct threa
 
 #endif /* COMPAT_FREEBSD7 */
 
+#define	LINUX_SYS_AUE_linux_exit	AUE_EXIT
 #define	LINUX_SYS_AUE_linux_fork	AUE_FORK
 #define	LINUX_SYS_AUE_linux_open	AUE_OPEN_RWTC
 #define	LINUX_SYS_AUE_linux_waitpid	AUE_WAIT4

Modified: user/dchagin/lemul/sys/amd64/linux32/linux32_syscall.h
==============================================================================
--- user/dchagin/lemul/sys/amd64/linux32/linux32_syscall.h	Sat Feb 23 08:05:04 2013	(r247170)
+++ user/dchagin/lemul/sys/amd64/linux32/linux32_syscall.h	Sat Feb 23 08:16:00 2013	(r247171)
@@ -3,10 +3,10 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 236026 2012-05-25 21:50:48Z ed 
+ * created from FreeBSD: user/dchagin/lemul/sys/amd64/linux32/syscalls.master 247169 2013-02-23 07:55:27Z dchagin 
  */
 
-#define	LINUX_SYS_exit	1
+#define	LINUX_SYS_linux_exit	1
 #define	LINUX_SYS_linux_fork	2
 #define	LINUX_SYS_read	3
 #define	LINUX_SYS_write	4

Modified: user/dchagin/lemul/sys/amd64/linux32/linux32_syscalls.c
==============================================================================
--- user/dchagin/lemul/sys/amd64/linux32/linux32_syscalls.c	Sat Feb 23 08:05:04 2013	(r247170)
+++ user/dchagin/lemul/sys/amd64/linux32/linux32_syscalls.c	Sat Feb 23 08:16:00 2013	(r247171)
@@ -3,13 +3,13 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 236026 2012-05-25 21:50:48Z ed 
+ * created from FreeBSD: user/dchagin/lemul/sys/amd64/linux32/syscalls.master 247169 2013-02-23 07:55:27Z dchagin 
  */
 
 const char *linux_syscallnames[] = {
 #define	nosys	linux_nosys
 	"#0",			/* 0 = setup */
-	"exit",			/* 1 = exit */
+	"linux_exit",			/* 1 = linux_exit */
 	"linux_fork",			/* 2 = linux_fork */
 	"read",			/* 3 = read */
 	"write",			/* 4 = write */

Modified: user/dchagin/lemul/sys/amd64/linux32/linux32_sysent.c
==============================================================================
--- user/dchagin/lemul/sys/amd64/linux32/linux32_sysent.c	Sat Feb 23 08:05:04 2013	(r247170)
+++ user/dchagin/lemul/sys/amd64/linux32/linux32_sysent.c	Sat Feb 23 08:16:00 2013	(r247171)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 236026 2012-05-25 21:50:48Z ed 
+ * created from FreeBSD: user/dchagin/lemul/sys/amd64/linux32/syscalls.master 247169 2013-02-23 07:55:27Z dchagin 
  */
 
 #include "opt_compat.h"
@@ -20,7 +20,7 @@
 struct sysent linux_sysent[] = {
 #define	nosys	linux_nosys
 	{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },			/* 0 = setup */
-	{ AS(sys_exit_args), (sy_call_t *)sys_sys_exit, AUE_EXIT, NULL, 0, 0, 0, SY_THR_STATIC },	/* 1 = exit */
+	{ AS(linux_exit_args), (sy_call_t *)linux_exit, AUE_EXIT, NULL, 0, 0, 0, SY_THR_STATIC },	/* 1 = linux_exit */
 	{ 0, (sy_call_t *)linux_fork, AUE_FORK, NULL, 0, 0, 0, SY_THR_STATIC },	/* 2 = linux_fork */
 	{ AS(read_args), (sy_call_t *)sys_read, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 3 = read */
 	{ AS(write_args), (sy_call_t *)sys_write, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 4 = write */

Modified: user/dchagin/lemul/sys/amd64/linux32/linux32_systrace_args.c
==============================================================================
--- user/dchagin/lemul/sys/amd64/linux32/linux32_systrace_args.c	Sat Feb 23 08:05:04 2013	(r247170)
+++ user/dchagin/lemul/sys/amd64/linux32/linux32_systrace_args.c	Sat Feb 23 08:16:00 2013	(r247171)
@@ -12,9 +12,9 @@ systrace_args(int sysnum, void *params, 
 	int64_t *iarg  = (int64_t *) uarg;
 	switch (sysnum) {
 #define	nosys	linux_nosys
-	/* sys_exit */
+	/* linux_exit */
 	case 1: {
-		struct sys_exit_args *p = params;
+		struct linux_exit_args *p = params;
 		iarg[0] = p->rval; /* int */
 		*n_args = 1;
 		break;
@@ -2271,7 +2271,7 @@ systrace_entry_setargdesc(int sysnum, in
 	const char *p = NULL;
 	switch (sysnum) {
 #define	nosys	linux_nosys
-	/* sys_exit */
+	/* linux_exit */
 	case 1:
 		switch(ndx) {
 		case 0:
@@ -5433,7 +5433,7 @@ systrace_return_setargdesc(int sysnum, i
 	const char *p = NULL;
 	switch (sysnum) {
 #define	nosys	linux_nosys
-	/* sys_exit */
+	/* linux_exit */
 	case 1:
 		if (ndx == 0 || ndx == 1)
 			p = "void";

Modified: user/dchagin/lemul/sys/i386/linux/linux_proto.h
==============================================================================
--- user/dchagin/lemul/sys/i386/linux/linux_proto.h	Sat Feb 23 08:05:04 2013	(r247170)
+++ user/dchagin/lemul/sys/i386/linux/linux_proto.h	Sat Feb 23 08:16:00 2013	(r247171)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/i386/linux/syscalls.master 238917 2012-07-30 20:44:45Z jhb 
+ * created from FreeBSD: user/dchagin/lemul/sys/i386/linux/syscalls.master 247169 2013-02-23 07:55:27Z dchagin 
  */
 
 #ifndef _LINUX_SYSPROTO_H_
@@ -34,6 +34,9 @@ struct thread;
 #endif
 
 #define	nosys	linux_nosys
+struct linux_exit_args {
+	char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)];
+};
 struct linux_fork_args {
 	register_t dummy;
 };
@@ -1117,6 +1120,7 @@ struct linux_process_vm_writev_args {
 	register_t dummy;
 };
 #define	nosys	linux_nosys
+int	linux_exit(struct thread *, struct linux_exit_args *);
 int	linux_fork(struct thread *, struct linux_fork_args *);
 int	linux_open(struct thread *, struct linux_open_args *);
 int	linux_waitpid(struct thread *, struct linux_waitpid_args *);
@@ -1420,6 +1424,7 @@ int	linux_process_vm_writev(struct threa
 
 #endif /* COMPAT_FREEBSD7 */
 
+#define	LINUX_SYS_AUE_linux_exit	AUE_EXIT
 #define	LINUX_SYS_AUE_linux_fork	AUE_FORK
 #define	LINUX_SYS_AUE_linux_open	AUE_OPEN_RWTC
 #define	LINUX_SYS_AUE_linux_waitpid	AUE_WAIT4

Modified: user/dchagin/lemul/sys/i386/linux/linux_syscall.h
==============================================================================
--- user/dchagin/lemul/sys/i386/linux/linux_syscall.h	Sat Feb 23 08:05:04 2013	(r247170)
+++ user/dchagin/lemul/sys/i386/linux/linux_syscall.h	Sat Feb 23 08:16:00 2013	(r247171)
@@ -3,10 +3,10 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/i386/linux/syscalls.master 238917 2012-07-30 20:44:45Z jhb 
+ * created from FreeBSD: user/dchagin/lemul/sys/i386/linux/syscalls.master 247169 2013-02-23 07:55:27Z dchagin 
  */
 
-#define	LINUX_SYS_exit	1
+#define	LINUX_SYS_linux_exit	1
 #define	LINUX_SYS_linux_fork	2
 #define	LINUX_SYS_read	3
 #define	LINUX_SYS_write	4

Modified: user/dchagin/lemul/sys/i386/linux/linux_syscalls.c
==============================================================================
--- user/dchagin/lemul/sys/i386/linux/linux_syscalls.c	Sat Feb 23 08:05:04 2013	(r247170)
+++ user/dchagin/lemul/sys/i386/linux/linux_syscalls.c	Sat Feb 23 08:16:00 2013	(r247171)
@@ -3,13 +3,13 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/i386/linux/syscalls.master 238917 2012-07-30 20:44:45Z jhb 
+ * created from FreeBSD: user/dchagin/lemul/sys/i386/linux/syscalls.master 247169 2013-02-23 07:55:27Z dchagin 
  */
 
 const char *linux_syscallnames[] = {
 #define	nosys	linux_nosys
 	"#0",			/* 0 = setup */
-	"exit",			/* 1 = exit */
+	"linux_exit",			/* 1 = linux_exit */
 	"linux_fork",			/* 2 = linux_fork */
 	"read",			/* 3 = read */
 	"write",			/* 4 = write */

Modified: user/dchagin/lemul/sys/i386/linux/linux_sysent.c
==============================================================================
--- user/dchagin/lemul/sys/i386/linux/linux_sysent.c	Sat Feb 23 08:05:04 2013	(r247170)
+++ user/dchagin/lemul/sys/i386/linux/linux_sysent.c	Sat Feb 23 08:16:00 2013	(r247171)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/i386/linux/syscalls.master 238917 2012-07-30 20:44:45Z jhb 
+ * created from FreeBSD: user/dchagin/lemul/sys/i386/linux/syscalls.master 247169 2013-02-23 07:55:27Z dchagin 
  */
 
 #include <sys/param.h>
@@ -19,7 +19,7 @@
 struct sysent linux_sysent[] = {
 #define	nosys	linux_nosys
 	{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },			/* 0 = setup */
-	{ AS(sys_exit_args), (sy_call_t *)sys_sys_exit, AUE_EXIT, NULL, 0, 0, 0, SY_THR_STATIC },	/* 1 = exit */
+	{ AS(linux_exit_args), (sy_call_t *)linux_exit, AUE_EXIT, NULL, 0, 0, 0, SY_THR_STATIC },	/* 1 = linux_exit */
 	{ 0, (sy_call_t *)linux_fork, AUE_FORK, NULL, 0, 0, 0, SY_THR_STATIC },	/* 2 = linux_fork */
 	{ AS(read_args), (sy_call_t *)sys_read, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 3 = read */
 	{ AS(write_args), (sy_call_t *)sys_write, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 4 = write */

Modified: user/dchagin/lemul/sys/i386/linux/linux_systrace_args.c
==============================================================================
--- user/dchagin/lemul/sys/i386/linux/linux_systrace_args.c	Sat Feb 23 08:05:04 2013	(r247170)
+++ user/dchagin/lemul/sys/i386/linux/linux_systrace_args.c	Sat Feb 23 08:16:00 2013	(r247171)
@@ -12,9 +12,9 @@ systrace_args(int sysnum, void *params, 
 	int64_t *iarg  = (int64_t *) uarg;
 	switch (sysnum) {
 #define	nosys	linux_nosys
-	/* sys_exit */
+	/* linux_exit */
 	case 1: {
-		struct sys_exit_args *p = params;
+		struct linux_exit_args *p = params;
 		iarg[0] = p->rval; /* int */
 		*n_args = 1;
 		break;
@@ -2362,7 +2362,7 @@ systrace_entry_setargdesc(int sysnum, in
 	const char *p = NULL;
 	switch (sysnum) {
 #define	nosys	linux_nosys
-	/* sys_exit */
+	/* linux_exit */
 	case 1:
 		switch(ndx) {
 		case 0:
@@ -5729,7 +5729,7 @@ systrace_return_setargdesc(int sysnum, i
 	const char *p = NULL;
 	switch (sysnum) {
 #define	nosys	linux_nosys
-	/* sys_exit */
+	/* linux_exit */
 	case 1:
 		if (ndx == 0 || ndx == 1)
 			p = "void";


More information about the svn-src-user mailing list