svn commit: r184790 - in head/sys: amd64/linux32 compat/freebsd32 i386/linux kern sys

Ed Schouten ed at FreeBSD.org
Sun Nov 9 02:48:07 PST 2008


Author: ed
Date: Sun Nov  9 10:48:06 2008
New Revision: 184790
URL: http://svn.freebsd.org/changeset/base/184790

Log:
  Regenerate system call tables for r184789.

Modified:
  head/sys/amd64/linux32/linux32_proto.h
  head/sys/amd64/linux32/linux32_syscall.h
  head/sys/amd64/linux32/linux32_sysent.c
  head/sys/compat/freebsd32/freebsd32_proto.h
  head/sys/compat/freebsd32/freebsd32_syscall.h
  head/sys/compat/freebsd32/freebsd32_syscalls.c
  head/sys/compat/freebsd32/freebsd32_sysent.c
  head/sys/i386/linux/linux_proto.h
  head/sys/i386/linux/linux_syscall.h
  head/sys/i386/linux/linux_sysent.c
  head/sys/kern/init_sysent.c
  head/sys/kern/syscalls.c
  head/sys/kern/systrace_args.c
  head/sys/sys/syscall.h
  head/sys/sys/syscall.mk
  head/sys/sys/sysproto.h

Modified: head/sys/amd64/linux32/linux32_proto.h
==============================================================================
--- head/sys/amd64/linux32/linux32_proto.h	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/amd64/linux32/linux32_proto.h	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.34 2008/05/13 20:01:26 rdivacky Exp 
+ * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #ifndef _LINUX_SYSPROTO_H_
@@ -378,6 +378,10 @@ struct linux_clone_args {
 	char dummy_l_[PADL_(int)]; int dummy; char dummy_r_[PADR_(int)];
 	char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)];
 };
+struct linux_setdomainname_args {
+	char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
+	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
+};
 struct linux_newuname_args {
 	char buf_l_[PADL_(struct l_new_utsname *)]; struct l_new_utsname * buf; char buf_r_[PADR_(struct l_new_utsname *)];
 };
@@ -1077,6 +1081,7 @@ int	linux_sysinfo(struct thread *, struc
 int	linux_ipc(struct thread *, struct linux_ipc_args *);
 int	linux_sigreturn(struct thread *, struct linux_sigreturn_args *);
 int	linux_clone(struct thread *, struct linux_clone_args *);
+int	linux_setdomainname(struct thread *, struct linux_setdomainname_args *);
 int	linux_newuname(struct thread *, struct linux_newuname_args *);
 int	linux_adjtimex(struct thread *, struct linux_adjtimex_args *);
 int	linux_mprotect(struct thread *, struct linux_mprotect_args *);
@@ -1339,6 +1344,7 @@ int	linux_vmsplice(struct thread *, stru
 #define	LINUX_SYS_AUE_linux_ipc	AUE_NULL
 #define	LINUX_SYS_AUE_linux_sigreturn	AUE_SIGRETURN
 #define	LINUX_SYS_AUE_linux_clone	AUE_RFORK
+#define	LINUX_SYS_AUE_linux_setdomainname	AUE_SYSCTL
 #define	LINUX_SYS_AUE_linux_newuname	AUE_NULL
 #define	LINUX_SYS_AUE_linux_adjtimex	AUE_ADJTIME
 #define	LINUX_SYS_AUE_linux_mprotect	AUE_MPROTECT

Modified: head/sys/amd64/linux32/linux32_syscall.h
==============================================================================
--- head/sys/amd64/linux32/linux32_syscall.h	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/amd64/linux32/linux32_syscall.h	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.34 2008/05/13 20:01:26 rdivacky Exp 
+ * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #define	LINUX_SYS_exit	1
@@ -112,7 +112,7 @@
 #define	LINUX_SYS_fsync	118
 #define	LINUX_SYS_linux_sigreturn	119
 #define	LINUX_SYS_linux_clone	120
-#define	LINUX_SYS_setdomainname	121
+#define	LINUX_SYS_linux_setdomainname	121
 #define	LINUX_SYS_linux_newuname	122
 #define	LINUX_SYS_linux_adjtimex	124
 #define	LINUX_SYS_linux_mprotect	125

Modified: head/sys/amd64/linux32/linux32_sysent.c
==============================================================================
--- head/sys/amd64/linux32/linux32_sysent.c	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/amd64/linux32/linux32_sysent.c	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.34 2008/05/13 20:01:26 rdivacky Exp 
+ * created from FreeBSD: head/sys/amd64/linux32/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #include "opt_compat.h"
@@ -140,7 +140,7 @@ struct sysent linux_sysent[] = {
 	{ AS(fsync_args), (sy_call_t *)fsync, AUE_FSYNC, NULL, 0, 0 },	/* 118 = fsync */
 	{ AS(linux_sigreturn_args), (sy_call_t *)linux_sigreturn, AUE_SIGRETURN, NULL, 0, 0 },	/* 119 = linux_sigreturn */
 	{ AS(linux_clone_args), (sy_call_t *)linux_clone, AUE_RFORK, NULL, 0, 0 },	/* 120 = linux_clone */
-	{ AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_SYSCTL, NULL, 0, 0 },	/* 121 = setdomainname */
+	{ AS(linux_setdomainname_args), (sy_call_t *)linux_setdomainname, AUE_SYSCTL, NULL, 0, 0 },	/* 121 = linux_setdomainname */
 	{ AS(linux_newuname_args), (sy_call_t *)linux_newuname, AUE_NULL, NULL, 0, 0 },	/* 122 = linux_newuname */
 	{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },			/* 123 = modify_ldt */
 	{ 0, (sy_call_t *)linux_adjtimex, AUE_ADJTIME, NULL, 0, 0 },	/* 124 = linux_adjtimex */

Modified: head/sys/compat/freebsd32/freebsd32_proto.h
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_proto.h	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/compat/freebsd32/freebsd32_proto.h	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184588 2008-11-03 10:38:00Z dfr 
+ * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #ifndef _FREEBSD32_SYSPROTO_H_

Modified: head/sys/compat/freebsd32/freebsd32_syscall.h
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_syscall.h	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/compat/freebsd32/freebsd32_syscall.h	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184588 2008-11-03 10:38:00Z dfr 
+ * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #define	FREEBSD32_SYS_syscall	0
@@ -156,9 +156,9 @@
 #define	FREEBSD32_SYS_freebsd4_freebsd32_statfs	157
 #define	FREEBSD32_SYS_freebsd4_freebsd32_fstatfs	158
 #define	FREEBSD32_SYS_getfh	161
-#define	FREEBSD32_SYS_getdomainname	162
-#define	FREEBSD32_SYS_setdomainname	163
-#define	FREEBSD32_SYS_uname	164
+				/* 162 is obsolete getdomainname */
+				/* 163 is obsolete setdomainname */
+				/* 164 is obsolete uname */
 #define	FREEBSD32_SYS_sysarch	165
 #define	FREEBSD32_SYS_rtprio	166
 #define	FREEBSD32_SYS_freebsd32_semsys	169

Modified: head/sys/compat/freebsd32/freebsd32_syscalls.c
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_syscalls.c	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/compat/freebsd32/freebsd32_syscalls.c	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184588 2008-11-03 10:38:00Z dfr 
+ * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 const char *freebsd32_syscallnames[] = {
@@ -169,9 +169,9 @@ const char *freebsd32_syscallnames[] = {
 	"#159",			/* 159 = nosys */
 	"#160",			/* 160 = lgetfh */
 	"getfh",			/* 161 = getfh */
-	"getdomainname",			/* 162 = getdomainname */
-	"setdomainname",			/* 163 = setdomainname */
-	"uname",			/* 164 = uname */
+	"obs_getdomainname",			/* 162 = obsolete getdomainname */
+	"obs_setdomainname",			/* 163 = obsolete setdomainname */
+	"obs_uname",			/* 164 = obsolete uname */
 	"sysarch",			/* 165 = sysarch */
 	"rtprio",			/* 166 = rtprio */
 	"#167",			/* 167 = nosys */

Modified: head/sys/compat/freebsd32/freebsd32_sysent.c
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_sysent.c	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/compat/freebsd32/freebsd32_sysent.c	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184588 2008-11-03 10:38:00Z dfr 
+ * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #include "opt_compat.h"
@@ -200,9 +200,9 @@ struct sysent freebsd32_sysent[] = {
 	{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },			/* 159 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },			/* 160 = lgetfh */
 	{ AS(getfh_args), (sy_call_t *)getfh, AUE_NFS_GETFH, NULL, 0, 0 },	/* 161 = getfh */
-	{ AS(getdomainname_args), (sy_call_t *)getdomainname, AUE_SYSCTL, NULL, 0, 0 },	/* 162 = getdomainname */
-	{ AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_SYSCTL, NULL, 0, 0 },	/* 163 = setdomainname */
-	{ AS(uname_args), (sy_call_t *)uname, AUE_NULL, NULL, 0, 0 },	/* 164 = uname */
+	{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },			/* 162 = obsolete getdomainname */
+	{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },			/* 163 = obsolete setdomainname */
+	{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },			/* 164 = obsolete uname */
 	{ AS(sysarch_args), (sy_call_t *)sysarch, AUE_SYSARCH, NULL, 0, 0 },	/* 165 = sysarch */
 	{ AS(rtprio_args), (sy_call_t *)rtprio, AUE_RTPRIO, NULL, 0, 0 },	/* 166 = rtprio */
 	{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },			/* 167 = nosys */

Modified: head/sys/i386/linux/linux_proto.h
==============================================================================
--- head/sys/i386/linux/linux_proto.h	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/i386/linux/linux_proto.h	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.93 2008/05/13 20:01:27 rdivacky Exp 
+ * created from FreeBSD: head/sys/i386/linux/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #ifndef _LINUX_SYSPROTO_H_
@@ -381,6 +381,10 @@ struct linux_clone_args {
 	char dummy_l_[PADL_(int)]; int dummy; char dummy_r_[PADR_(int)];
 	char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)];
 };
+struct linux_setdomainname_args {
+	char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
+	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
+};
 struct linux_newuname_args {
 	char buf_l_[PADL_(struct l_new_utsname *)]; struct l_new_utsname * buf; char buf_r_[PADR_(struct l_new_utsname *)];
 };
@@ -1097,6 +1101,7 @@ int	linux_sysinfo(struct thread *, struc
 int	linux_ipc(struct thread *, struct linux_ipc_args *);
 int	linux_sigreturn(struct thread *, struct linux_sigreturn_args *);
 int	linux_clone(struct thread *, struct linux_clone_args *);
+int	linux_setdomainname(struct thread *, struct linux_setdomainname_args *);
 int	linux_newuname(struct thread *, struct linux_newuname_args *);
 int	linux_modify_ldt(struct thread *, struct linux_modify_ldt_args *);
 int	linux_adjtimex(struct thread *, struct linux_adjtimex_args *);
@@ -1360,6 +1365,7 @@ int	linux_vmsplice(struct thread *, stru
 #define	LINUX_SYS_AUE_linux_ipc	AUE_NULL
 #define	LINUX_SYS_AUE_linux_sigreturn	AUE_SIGRETURN
 #define	LINUX_SYS_AUE_linux_clone	AUE_RFORK
+#define	LINUX_SYS_AUE_linux_setdomainname	AUE_SYSCTL
 #define	LINUX_SYS_AUE_linux_newuname	AUE_NULL
 #define	LINUX_SYS_AUE_linux_modify_ldt	AUE_NULL
 #define	LINUX_SYS_AUE_linux_adjtimex	AUE_ADJTIME

Modified: head/sys/i386/linux/linux_syscall.h
==============================================================================
--- head/sys/i386/linux/linux_syscall.h	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/i386/linux/linux_syscall.h	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.93 2008/05/13 20:01:27 rdivacky Exp 
+ * created from FreeBSD: head/sys/i386/linux/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #define	LINUX_SYS_exit	1
@@ -116,7 +116,7 @@
 #define	LINUX_SYS_fsync	118
 #define	LINUX_SYS_linux_sigreturn	119
 #define	LINUX_SYS_linux_clone	120
-#define	LINUX_SYS_setdomainname	121
+#define	LINUX_SYS_linux_setdomainname	121
 #define	LINUX_SYS_linux_newuname	122
 #define	LINUX_SYS_linux_modify_ldt	123
 #define	LINUX_SYS_linux_adjtimex	124

Modified: head/sys/i386/linux/linux_sysent.c
==============================================================================
--- head/sys/i386/linux/linux_sysent.c	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/i386/linux/linux_sysent.c	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.93 2008/05/13 20:01:27 rdivacky Exp 
+ * created from FreeBSD: head/sys/i386/linux/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #include <sys/param.h>
@@ -139,7 +139,7 @@ struct sysent linux_sysent[] = {
 	{ AS(fsync_args), (sy_call_t *)fsync, AUE_FSYNC, NULL, 0, 0 },	/* 118 = fsync */
 	{ AS(linux_sigreturn_args), (sy_call_t *)linux_sigreturn, AUE_SIGRETURN, NULL, 0, 0 },	/* 119 = linux_sigreturn */
 	{ AS(linux_clone_args), (sy_call_t *)linux_clone, AUE_RFORK, NULL, 0, 0 },	/* 120 = linux_clone */
-	{ AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_SYSCTL, NULL, 0, 0 },	/* 121 = setdomainname */
+	{ AS(linux_setdomainname_args), (sy_call_t *)linux_setdomainname, AUE_SYSCTL, NULL, 0, 0 },	/* 121 = linux_setdomainname */
 	{ AS(linux_newuname_args), (sy_call_t *)linux_newuname, AUE_NULL, NULL, 0, 0 },	/* 122 = linux_newuname */
 	{ AS(linux_modify_ldt_args), (sy_call_t *)linux_modify_ldt, AUE_NULL, NULL, 0, 0 },	/* 123 = linux_modify_ldt */
 	{ 0, (sy_call_t *)linux_adjtimex, AUE_ADJTIME, NULL, 0, 0 },	/* 124 = linux_adjtimex */

Modified: head/sys/kern/init_sysent.c
==============================================================================
--- head/sys/kern/init_sysent.c	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/kern/init_sysent.c	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 184588 2008-11-03 10:38:00Z dfr 
+ * created from FreeBSD: head/sys/kern/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #include "opt_compat.h"
@@ -190,9 +190,9 @@ struct sysent sysent[] = {
 	{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },			/* 159 = nosys */
 	{ AS(lgetfh_args), (sy_call_t *)lgetfh, AUE_LGETFH, NULL, 0, 0 },	/* 160 = lgetfh */
 	{ AS(getfh_args), (sy_call_t *)getfh, AUE_NFS_GETFH, NULL, 0, 0 },	/* 161 = getfh */
-	{ AS(getdomainname_args), (sy_call_t *)getdomainname, AUE_SYSCTL, NULL, 0, 0 },	/* 162 = getdomainname */
-	{ AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_SYSCTL, NULL, 0, 0 },	/* 163 = setdomainname */
-	{ AS(uname_args), (sy_call_t *)uname, AUE_NULL, NULL, 0, 0 },	/* 164 = uname */
+	{ compat4(AS(freebsd4_getdomainname_args),getdomainname), AUE_SYSCTL, NULL, 0, 0 },	/* 162 = old getdomainname */
+	{ compat4(AS(freebsd4_setdomainname_args),setdomainname), AUE_SYSCTL, NULL, 0, 0 },	/* 163 = old setdomainname */
+	{ compat4(AS(freebsd4_uname_args),uname), AUE_NULL, NULL, 0, 0 },	/* 164 = old uname */
 	{ AS(sysarch_args), (sy_call_t *)sysarch, AUE_SYSARCH, NULL, 0, 0 },	/* 165 = sysarch */
 	{ AS(rtprio_args), (sy_call_t *)rtprio, AUE_RTPRIO, NULL, 0, 0 },	/* 166 = rtprio */
 	{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },			/* 167 = nosys */

Modified: head/sys/kern/syscalls.c
==============================================================================
--- head/sys/kern/syscalls.c	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/kern/syscalls.c	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 184588 2008-11-03 10:38:00Z dfr 
+ * created from FreeBSD: head/sys/kern/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 const char *syscallnames[] = {
@@ -169,9 +169,9 @@ const char *syscallnames[] = {
 	"#159",			/* 159 = nosys */
 	"lgetfh",			/* 160 = lgetfh */
 	"getfh",			/* 161 = getfh */
-	"getdomainname",			/* 162 = getdomainname */
-	"setdomainname",			/* 163 = setdomainname */
-	"uname",			/* 164 = uname */
+	"compat4.getdomainname",		/* 162 = old getdomainname */
+	"compat4.setdomainname",		/* 163 = old setdomainname */
+	"compat4.uname",		/* 164 = old uname */
 	"sysarch",			/* 165 = sysarch */
 	"rtprio",			/* 166 = rtprio */
 	"#167",			/* 167 = nosys */

Modified: head/sys/kern/systrace_args.c
==============================================================================
--- head/sys/kern/systrace_args.c	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/kern/systrace_args.c	Sun Nov  9 10:48:06 2008	(r184790)
@@ -864,29 +864,6 @@ systrace_args(int sysnum, void *params, 
 		*n_args = 2;
 		break;
 	}
-	/* getdomainname */
-	case 162: {
-		struct getdomainname_args *p = params;
-		uarg[0] = (intptr_t) p->domainname; /* char * */
-		iarg[1] = p->len; /* int */
-		*n_args = 2;
-		break;
-	}
-	/* setdomainname */
-	case 163: {
-		struct setdomainname_args *p = params;
-		uarg[0] = (intptr_t) p->domainname; /* char * */
-		iarg[1] = p->len; /* int */
-		*n_args = 2;
-		break;
-	}
-	/* uname */
-	case 164: {
-		struct uname_args *p = params;
-		uarg[0] = (intptr_t) p->name; /* struct utsname * */
-		*n_args = 1;
-		break;
-	}
 	/* sysarch */
 	case 165: {
 		struct sysarch_args *p = params;
@@ -4441,42 +4418,6 @@ systrace_setargdesc(int sysnum, int ndx,
 			break;
 		};
 		break;
-	/* getdomainname */
-	case 162:
-		switch(ndx) {
-		case 0:
-			p = "char *";
-			break;
-		case 1:
-			p = "int";
-			break;
-		default:
-			break;
-		};
-		break;
-	/* setdomainname */
-	case 163:
-		switch(ndx) {
-		case 0:
-			p = "char *";
-			break;
-		case 1:
-			p = "int";
-			break;
-		default:
-			break;
-		};
-		break;
-	/* uname */
-	case 164:
-		switch(ndx) {
-		case 0:
-			p = "struct utsname *";
-			break;
-		default:
-			break;
-		};
-		break;
 	/* sysarch */
 	case 165:
 		switch(ndx) {

Modified: head/sys/sys/syscall.h
==============================================================================
--- head/sys/sys/syscall.h	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/sys/syscall.h	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 184588 2008-11-03 10:38:00Z dfr 
+ * created from FreeBSD: head/sys/kern/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #define	SYS_syscall	0
@@ -161,9 +161,9 @@
 #define	SYS_freebsd4_fstatfs	158
 #define	SYS_lgetfh	160
 #define	SYS_getfh	161
-#define	SYS_getdomainname	162
-#define	SYS_setdomainname	163
-#define	SYS_uname	164
+#define	SYS_freebsd4_getdomainname	162
+#define	SYS_freebsd4_setdomainname	163
+#define	SYS_freebsd4_uname	164
 #define	SYS_sysarch	165
 #define	SYS_rtprio	166
 #define	SYS_semsys	169

Modified: head/sys/sys/syscall.mk
==============================================================================
--- head/sys/sys/syscall.mk	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/sys/syscall.mk	Sun Nov  9 10:48:06 2008	(r184790)
@@ -1,7 +1,7 @@
 # FreeBSD system call names.
 # DO NOT EDIT-- this file is automatically generated.
 # $FreeBSD$
-# created from FreeBSD: head/sys/kern/syscalls.master 184588 2008-11-03 10:38:00Z dfr 
+# created from FreeBSD: head/sys/kern/syscalls.master 184789 2008-11-09 10:45:13Z ed 
 MIASM =  \
 	syscall.o \
 	exit.o \
@@ -113,9 +113,9 @@ MIASM =  \
 	freebsd4_fstatfs.o \
 	lgetfh.o \
 	getfh.o \
-	getdomainname.o \
-	setdomainname.o \
-	uname.o \
+	freebsd4_getdomainname.o \
+	freebsd4_setdomainname.o \
+	freebsd4_uname.o \
 	sysarch.o \
 	rtprio.o \
 	semsys.o \

Modified: head/sys/sys/sysproto.h
==============================================================================
--- head/sys/sys/sysproto.h	Sun Nov  9 10:45:13 2008	(r184789)
+++ head/sys/sys/sysproto.h	Sun Nov  9 10:48:06 2008	(r184790)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 184588 2008-11-03 10:38:00Z dfr 
+ * created from FreeBSD: head/sys/kern/syscalls.master 184789 2008-11-09 10:45:13Z ed 
  */
 
 #ifndef _SYS_SYSPROTO_H_
@@ -500,17 +500,6 @@ struct getfh_args {
 	char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
 	char fhp_l_[PADL_(struct fhandle *)]; struct fhandle * fhp; char fhp_r_[PADR_(struct fhandle *)];
 };
-struct getdomainname_args {
-	char domainname_l_[PADL_(char *)]; char * domainname; char domainname_r_[PADR_(char *)];
-	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
-};
-struct setdomainname_args {
-	char domainname_l_[PADL_(char *)]; char * domainname; char domainname_r_[PADR_(char *)];
-	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
-};
-struct uname_args {
-	char name_l_[PADL_(struct utsname *)]; struct utsname * name; char name_r_[PADR_(struct utsname *)];
-};
 struct sysarch_args {
 	char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
 	char parms_l_[PADL_(char *)]; char * parms; char parms_r_[PADR_(char *)];
@@ -1743,9 +1732,6 @@ int	nlm_syscall(struct thread *, struct 
 int	nfssvc(struct thread *, struct nfssvc_args *);
 int	lgetfh(struct thread *, struct lgetfh_args *);
 int	getfh(struct thread *, struct getfh_args *);
-int	getdomainname(struct thread *, struct getdomainname_args *);
-int	setdomainname(struct thread *, struct setdomainname_args *);
-int	uname(struct thread *, struct uname_args *);
 int	sysarch(struct thread *, struct sysarch_args *);
 int	rtprio(struct thread *, struct rtprio_args *);
 int	semsys(struct thread *, struct semsys_args *);
@@ -2181,6 +2167,17 @@ struct freebsd4_fstatfs_args {
 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 	char buf_l_[PADL_(struct ostatfs *)]; struct ostatfs * buf; char buf_r_[PADR_(struct ostatfs *)];
 };
+struct freebsd4_getdomainname_args {
+	char domainname_l_[PADL_(char *)]; char * domainname; char domainname_r_[PADR_(char *)];
+	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
+};
+struct freebsd4_setdomainname_args {
+	char domainname_l_[PADL_(char *)]; char * domainname; char domainname_r_[PADR_(char *)];
+	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
+};
+struct freebsd4_uname_args {
+	char name_l_[PADL_(struct utsname *)]; struct utsname * name; char name_r_[PADR_(struct utsname *)];
+};
 struct freebsd4_fhstatfs_args {
 	char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
 	char buf_l_[PADL_(struct ostatfs *)]; struct ostatfs * buf; char buf_r_[PADR_(struct ostatfs *)];
@@ -2205,6 +2202,9 @@ struct freebsd4_sigreturn_args {
 int	freebsd4_getfsstat(struct thread *, struct freebsd4_getfsstat_args *);
 int	freebsd4_statfs(struct thread *, struct freebsd4_statfs_args *);
 int	freebsd4_fstatfs(struct thread *, struct freebsd4_fstatfs_args *);
+int	freebsd4_getdomainname(struct thread *, struct freebsd4_getdomainname_args *);
+int	freebsd4_setdomainname(struct thread *, struct freebsd4_setdomainname_args *);
+int	freebsd4_uname(struct thread *, struct freebsd4_uname_args *);
 int	freebsd4_fhstatfs(struct thread *, struct freebsd4_fhstatfs_args *);
 int	freebsd4_sendfile(struct thread *, struct freebsd4_sendfile_args *);
 int	freebsd4_sigaction(struct thread *, struct freebsd4_sigaction_args *);
@@ -2325,9 +2325,6 @@ int	freebsd4_sigreturn(struct thread *, 
 #define	SYS_AUE_nfssvc	AUE_NFS_SVC
 #define	SYS_AUE_lgetfh	AUE_LGETFH
 #define	SYS_AUE_getfh	AUE_NFS_GETFH
-#define	SYS_AUE_getdomainname	AUE_SYSCTL
-#define	SYS_AUE_setdomainname	AUE_SYSCTL
-#define	SYS_AUE_uname	AUE_NULL
 #define	SYS_AUE_sysarch	AUE_SYSARCH
 #define	SYS_AUE_rtprio	AUE_RTPRIO
 #define	SYS_AUE_semsys	AUE_SEMSYS


More information about the svn-src-all mailing list