Module Name:    src
Committed By:   chs
Date:           Tue Nov  2 18:15:39 UTC 2010

Modified Files:
        src/sys/compat/linux32/arch/amd64: linux32_syscall.h
            linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 \
    src/sys/compat/linux32/arch/amd64/linux32_syscall.h \
    src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \
    src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \
    src/sys/compat/linux32/arch/amd64/linux32_sysent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux32/arch/amd64/linux32_syscall.h
diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.59 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.60
--- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.59	Wed Jul  7 01:31:54 2010
+++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h	Tue Nov  2 18:15:39 2010
@@ -1,10 +1,10 @@
-/* $NetBSD: linux32_syscall.h,v 1.59 2010/07/07 01:31:54 chs Exp $ */
+/* $NetBSD: linux32_syscall.h,v 1.60 2010/11/02 18:15:39 chs Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.56 2010/07/07 01:30:35 chs Exp
+ * created from	NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp
  */
 
 #ifndef _LINUX32_SYS_SYSCALL_H_
@@ -265,12 +265,18 @@
 /* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */
 #define	LINUX32_SYS_netbsd32_setpriority	97
 
+/* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_u_long" "u_int" */
+#define	LINUX32_SYS_netbsd32_profil	98
+
 /* syscall: "statfs" ret: "int" args: "netbsd32_charp" "linux32_statfsp" */
 #define	LINUX32_SYS_statfs	99
 
 /* syscall: "fstatfs" ret: "int" args: "int" "linux32_statfsp" */
 #define	LINUX32_SYS_fstatfs	100
 
+/* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */
+#define	LINUX32_SYS_ioperm	101
+
 /* syscall: "socketcall" ret: "int" args: "int" "netbsd32_voidp" */
 #define	LINUX32_SYS_socketcall	102
 
@@ -292,6 +298,9 @@
 /* syscall: "olduname" ret: "int" args: "linux32_oldutsnamep_t" */
 #define	LINUX32_SYS_olduname	109
 
+/* syscall: "iopl" ret: "int" args: "int" */
+#define	LINUX32_SYS_iopl	110
+
 /* syscall: "wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusage50p_t" */
 #define	LINUX32_SYS_wait4	114
 
@@ -313,9 +322,15 @@
 /* syscall: "clone" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_voidp" "netbsd32_voidp" "netbsd32_voidp" */
 #define	LINUX32_SYS_clone	120
 
+/* syscall: "setdomainname" ret: "int" args: "netbsd32_charp" "int" */
+#define	LINUX32_SYS_setdomainname	121
+
 /* syscall: "uname" ret: "int" args: "linux32_utsnamep" */
 #define	LINUX32_SYS_uname	122
 
+/* syscall: "modify_ldt" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
+#define	LINUX32_SYS_modify_ldt	123
+
 /* syscall: "mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
 #define	LINUX32_SYS_mprotect	125
 
@@ -457,6 +472,12 @@
 /* syscall: "mmap2" ret: "linux32_off_t" args: "netbsd32_u_long" "netbsd32_size_t" "int" "int" "int" "linux32_off_t" */
 #define	LINUX32_SYS_mmap2	192
 
+/* syscall: "truncate64" ret: "int" args: "netbsd32_charp" "uint32_t" "uint32_t" */
+#define	LINUX32_SYS_truncate64	193
+
+/* syscall: "ftruncate64" ret: "int" args: "unsigned int" "uint32_t" "uint32_t" */
+#define	LINUX32_SYS_ftruncate64	194
+
 /* syscall: "stat64" ret: "int" args: "netbsd32_charp" "linux32_stat64p" */
 #define	LINUX32_SYS_stat64	195
 
@@ -576,6 +597,12 @@
 /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "linux32_timespecp_t" "linux32_timespecp_t" */
 #define	LINUX32_SYS_clock_nanosleep	267
 
+/* syscall: "statfs64" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" "linux32_statfs64p" */
+#define	LINUX32_SYS_statfs64	268
+
+/* syscall: "fstatfs64" ret: "int" args: "int" "netbsd32_size_t" "linux32_statfs64p" */
+#define	LINUX32_SYS_fstatfs64	269
+
 /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
 #define	LINUX32_SYS_tgkill	270
 
Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h
diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.59 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.60
--- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.59	Wed Jul  7 01:31:54 2010
+++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h	Tue Nov  2 18:15:39 2010
@@ -1,10 +1,10 @@
-/* $NetBSD: linux32_syscallargs.h,v 1.59 2010/07/07 01:31:54 chs Exp $ */
+/* $NetBSD: linux32_syscallargs.h,v 1.60 2010/11/02 18:15:39 chs Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.56 2010/07/07 01:30:35 chs Exp
+ * created from	NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp
  */
 
 #ifndef _LINUX32_SYS_SYSCALLARGS_H_
@@ -316,6 +316,8 @@
 
 struct netbsd32_setpriority_args;
 
+struct netbsd32_profil_args;
+
 struct linux32_sys_statfs_args {
 	syscallarg(netbsd32_charp) path;
 	syscallarg(linux32_statfsp) sp;
@@ -328,6 +330,8 @@
 };
 check_syscall_args(linux32_sys_fstatfs)
 
+struct linux_sys_ioperm_args;
+
 struct linux32_sys_socketcall_args {
 	syscallarg(int) what;
 	syscallarg(netbsd32_voidp) args;
@@ -361,6 +365,8 @@
 };
 check_syscall_args(linux32_sys_olduname)
 
+struct linux_sys_iopl_args;
+
 struct linux32_sys_wait4_args {
 	syscallarg(int) pid;
 	syscallarg(netbsd32_intp) status;
@@ -404,11 +410,24 @@
 };
 check_syscall_args(linux32_sys_clone)
 
+struct linux32_sys_setdomainname_args {
+	syscallarg(netbsd32_charp) domainname;
+	syscallarg(int) len;
+};
+check_syscall_args(linux32_sys_setdomainname)
+
 struct linux32_sys_uname_args {
 	syscallarg(linux32_utsnamep) up;
 };
 check_syscall_args(linux32_sys_uname)
 
+struct linux32_sys_modify_ldt_args {
+	syscallarg(int) func;
+	syscallarg(netbsd32_charp) ptr;
+	syscallarg(netbsd32_size_t) bytecount;
+};
+check_syscall_args(linux32_sys_modify_ldt)
+
 struct linux32_sys_mprotect_args {
 	syscallarg(netbsd32_voidp) start;
 	syscallarg(netbsd32_size_t) len;
@@ -639,6 +658,20 @@
 };
 check_syscall_args(linux32_sys_mmap2)
 
+struct linux32_sys_truncate64_args {
+	syscallarg(netbsd32_charp) path;
+	syscallarg(uint32_t) lenlo;
+	syscallarg(uint32_t) lenhi;
+};
+check_syscall_args(linux32_sys_truncate64)
+
+struct linux32_sys_ftruncate64_args {
+	syscallarg(unsigned int) fd;
+	syscallarg(uint32_t) lenlo;
+	syscallarg(uint32_t) lenhi;
+};
+check_syscall_args(linux32_sys_ftruncate64)
+
 struct linux32_sys_stat64_args {
 	syscallarg(netbsd32_charp) path;
 	syscallarg(linux32_stat64p) sp;
@@ -804,6 +837,20 @@
 };
 check_syscall_args(linux32_sys_clock_nanosleep)
 
+struct linux32_sys_statfs64_args {
+	syscallarg(netbsd32_charp) path;
+	syscallarg(netbsd32_size_t) sz;
+	syscallarg(linux32_statfs64p) sp;
+};
+check_syscall_args(linux32_sys_statfs64)
+
+struct linux32_sys_fstatfs64_args {
+	syscallarg(int) fd;
+	syscallarg(netbsd32_size_t) sz;
+	syscallarg(linux32_statfs64p) sp;
+};
+check_syscall_args(linux32_sys_fstatfs64)
+
 struct linux32_sys_tgkill_args {
 	syscallarg(int) tgid;
 	syscallarg(int) tid;
@@ -990,10 +1037,14 @@
 
 int	netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
 
+int	netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
+
 int	linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *);
 
 int	linux32_sys_fstatfs(struct lwp *, const struct linux32_sys_fstatfs_args *, register_t *);
 
+int	linux_sys_ioperm(struct lwp *, const struct linux_sys_ioperm_args *, register_t *);
+
 int	linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *);
 
 int	compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
@@ -1008,6 +1059,8 @@
 
 int	linux32_sys_olduname(struct lwp *, const struct linux32_sys_olduname_args *, register_t *);
 
+int	linux_sys_iopl(struct lwp *, const struct linux_sys_iopl_args *, register_t *);
+
 int	linux32_sys_wait4(struct lwp *, const struct linux32_sys_wait4_args *, register_t *);
 
 int	linux32_sys_swapoff(struct lwp *, const struct linux32_sys_swapoff_args *, register_t *);
@@ -1022,8 +1075,12 @@
 
 int	linux32_sys_clone(struct lwp *, const struct linux32_sys_clone_args *, register_t *);
 
+int	linux32_sys_setdomainname(struct lwp *, const struct linux32_sys_setdomainname_args *, register_t *);
+
 int	linux32_sys_uname(struct lwp *, const struct linux32_sys_uname_args *, register_t *);
 
+int	linux32_sys_modify_ldt(struct lwp *, const struct linux32_sys_modify_ldt_args *, register_t *);
+
 int	linux32_sys_mprotect(struct lwp *, const struct linux32_sys_mprotect_args *, register_t *);
 
 int	netbsd32_getpgid(struct lwp *, const struct netbsd32_getpgid_args *, register_t *);
@@ -1118,6 +1175,10 @@
 
 int	linux32_sys_mmap2(struct lwp *, const struct linux32_sys_mmap2_args *, register_t *);
 
+int	linux32_sys_truncate64(struct lwp *, const struct linux32_sys_truncate64_args *, register_t *);
+
+int	linux32_sys_ftruncate64(struct lwp *, const struct linux32_sys_ftruncate64_args *, register_t *);
+
 int	linux32_sys_stat64(struct lwp *, const struct linux32_sys_stat64_args *, register_t *);
 
 int	linux32_sys_lstat64(struct lwp *, const struct linux32_sys_lstat64_args *, register_t *);
@@ -1182,6 +1243,10 @@
 
 int	linux32_sys_clock_nanosleep(struct lwp *, const struct linux32_sys_clock_nanosleep_args *, register_t *);
 
+int	linux32_sys_statfs64(struct lwp *, const struct linux32_sys_statfs64_args *, register_t *);
+
+int	linux32_sys_fstatfs64(struct lwp *, const struct linux32_sys_fstatfs64_args *, register_t *);
+
 int	linux32_sys_tgkill(struct lwp *, const struct linux32_sys_tgkill_args *, register_t *);
 
 int	linux32_sys_set_robust_list(struct lwp *, const struct linux32_sys_set_robust_list_args *, register_t *);
Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c
diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.59 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.60
--- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.59	Wed Jul  7 01:31:55 2010
+++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c	Tue Nov  2 18:15:39 2010
@@ -1,14 +1,14 @@
-/* $NetBSD: linux32_syscalls.c,v 1.59 2010/07/07 01:31:55 chs Exp $ */
+/* $NetBSD: linux32_syscalls.c,v 1.60 2010/11/02 18:15:39 chs Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.56 2010/07/07 01:30:35 chs Exp
+ * created from	NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.59 2010/07/07 01:31:55 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.60 2010/11/02 18:15:39 chs Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
@@ -133,10 +133,10 @@
 	/*  95 */	"fchown16",
 	/*  96 */	"getpriority",
 	/*  97 */	"netbsd32_setpriority",
-	/*  98 */	"#98 (unimplemented profil)",
+	/*  98 */	"netbsd32_profil",
 	/*  99 */	"statfs",
 	/* 100 */	"fstatfs",
-	/* 101 */	"#101 (unimplemented ioperm)",
+	/* 101 */	"ioperm",
 	/* 102 */	"socketcall",
 	/* 103 */	"#103 (unimplemented syslog)",
 	/* 104 */	"compat_50_netbsd32_setitimer",
@@ -145,7 +145,7 @@
 	/* 107 */	"lstat",
 	/* 108 */	"fstat",
 	/* 109 */	"olduname",
-	/* 110 */	"#110 (unimplemented iopl)",
+	/* 110 */	"iopl",
 	/* 111 */	"#111 (unimplemented vhangup)",
 	/* 112 */	"#112 (unimplemented idle)",
 	/* 113 */	"#113 (unimplemented vm86old)",
@@ -156,9 +156,9 @@
 	/* 118 */	"netbsd32_fsync",
 	/* 119 */	"sigreturn",
 	/* 120 */	"clone",
-	/* 121 */	"#121 (unimplemented setdomainname)",
+	/* 121 */	"setdomainname",
 	/* 122 */	"uname",
-	/* 123 */	"#123 (unimplemented modify_ldt)",
+	/* 123 */	"modify_ldt",
 	/* 124 */	"#124 (unimplemented adjtimex)",
 	/* 125 */	"mprotect",
 	/* 126 */	"#126 (unimplemented sigprocmask)",
@@ -228,8 +228,8 @@
 	/* 190 */	"__vfork14",
 	/* 191 */	"ugetrlimit",
 	/* 192 */	"mmap2",
-	/* 193 */	"#193 (unimplemented truncate64)",
-	/* 194 */	"#194 (unimplemented ftruncate64)",
+	/* 193 */	"truncate64",
+	/* 194 */	"ftruncate64",
 	/* 195 */	"stat64",
 	/* 196 */	"lstat64",
 	/* 197 */	"fstat64",
@@ -305,8 +305,8 @@
 	/* 265 */	"clock_gettime",
 	/* 266 */	"clock_getres",
 	/* 267 */	"clock_nanosleep",
-	/* 268 */	"#268 (unimplemented statfs64)",
-	/* 269 */	"#269 (unimplemented fstatfs64)",
+	/* 268 */	"statfs64",
+	/* 269 */	"fstatfs64",
 	/* 270 */	"tgkill",
 	/* 271 */	"#271 (unimplemented utimes)",
 	/* 272 */	"#272 (unimplemented fadvise64_64)",
Index: src/sys/compat/linux32/arch/amd64/linux32_sysent.c
diff -u src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.59 src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.60
--- src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.59	Wed Jul  7 01:31:55 2010
+++ src/sys/compat/linux32/arch/amd64/linux32_sysent.c	Tue Nov  2 18:15:39 2010
@@ -1,14 +1,14 @@
-/* $NetBSD: linux32_sysent.c,v 1.59 2010/07/07 01:31:55 chs Exp $ */
+/* $NetBSD: linux32_sysent.c,v 1.60 2010/11/02 18:15:39 chs Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.56 2010/07/07 01:30:35 chs Exp
+ * created from	NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.59 2010/07/07 01:31:55 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.60 2010/11/02 18:15:39 chs Exp $");
 
 #include <sys/param.h>
 #include <sys/poll.h>
@@ -233,14 +233,14 @@
 	    (sy_call_t *)linux32_sys_getpriority },/* 96 = getpriority */
 	{ ns(struct netbsd32_setpriority_args), 0,
 	    (sy_call_t *)netbsd32_setpriority },/* 97 = netbsd32_setpriority */
-	{ 0, 0, 0,
-	    linux_sys_nosys },			/* 98 = unimplemented profil */
+	{ ns(struct netbsd32_profil_args), 0,
+	    (sy_call_t *)netbsd32_profil },	/* 98 = netbsd32_profil */
 	{ ns(struct linux32_sys_statfs_args), 0,
 	    (sy_call_t *)linux32_sys_statfs },	/* 99 = statfs */
 	{ ns(struct linux32_sys_fstatfs_args), 0,
 	    (sy_call_t *)linux32_sys_fstatfs },	/* 100 = fstatfs */
-	{ 0, 0, 0,
-	    linux_sys_nosys },			/* 101 = unimplemented ioperm */
+	{ ns(struct linux_sys_ioperm_args), 0,
+	    (sy_call_t *)linux_sys_ioperm },	/* 101 = ioperm */
 	{ ns(struct linux32_sys_socketcall_args), 0,
 	    (sy_call_t *)linux32_sys_socketcall },/* 102 = socketcall */
 	{ 0, 0, 0,
@@ -257,8 +257,8 @@
 	    (sy_call_t *)linux32_sys_fstat },	/* 108 = fstat */
 	{ ns(struct linux32_sys_olduname_args), 0,
 	    (sy_call_t *)linux32_sys_olduname },/* 109 = olduname */
-	{ 0, 0, 0,
-	    linux_sys_nosys },			/* 110 = unimplemented iopl */
+	{ ns(struct linux_sys_iopl_args), 0,
+	    (sy_call_t *)linux_sys_iopl },	/* 110 = iopl */
 	{ 0, 0, 0,
 	    linux_sys_nosys },			/* 111 = unimplemented vhangup */
 	{ 0, 0, 0,
@@ -279,12 +279,12 @@
 	    (sy_call_t *)linux32_sys_sigreturn },/* 119 = sigreturn */
 	{ ns(struct linux32_sys_clone_args), 0,
 	    (sy_call_t *)linux32_sys_clone },	/* 120 = clone */
-	{ 0, 0, 0,
-	    linux_sys_nosys },			/* 121 = unimplemented setdomainname */
+	{ ns(struct linux32_sys_setdomainname_args), 0,
+	    (sy_call_t *)linux32_sys_setdomainname },/* 121 = setdomainname */
 	{ ns(struct linux32_sys_uname_args), 0,
 	    (sy_call_t *)linux32_sys_uname },	/* 122 = uname */
-	{ 0, 0, 0,
-	    linux_sys_nosys },			/* 123 = unimplemented modify_ldt */
+	{ ns(struct linux32_sys_modify_ldt_args), 0,
+	    (sy_call_t *)linux32_sys_modify_ldt },/* 123 = modify_ldt */
 	{ 0, 0, 0,
 	    linux_sys_nosys },			/* 124 = unimplemented adjtimex */
 	{ ns(struct linux32_sys_mprotect_args), 0,
@@ -423,10 +423,10 @@
 	    (sy_call_t *)linux32_sys_ugetrlimit },/* 191 = ugetrlimit */
 	{ ns(struct linux32_sys_mmap2_args), 0,
 	    (sy_call_t *)linux32_sys_mmap2 },	/* 192 = mmap2 */
-	{ 0, 0, 0,
-	    linux_sys_nosys },			/* 193 = unimplemented truncate64 */
-	{ 0, 0, 0,
-	    linux_sys_nosys },			/* 194 = unimplemented ftruncate64 */
+	{ ns(struct linux32_sys_truncate64_args), 0,
+	    (sy_call_t *)linux32_sys_truncate64 },/* 193 = truncate64 */
+	{ ns(struct linux32_sys_ftruncate64_args), 0,
+	    (sy_call_t *)linux32_sys_ftruncate64 },/* 194 = ftruncate64 */
 	{ ns(struct linux32_sys_stat64_args), 0,
 	    (sy_call_t *)linux32_sys_stat64 },	/* 195 = stat64 */
 	{ ns(struct linux32_sys_lstat64_args), 0,
@@ -575,10 +575,10 @@
 	    (sy_call_t *)linux32_sys_clock_getres },/* 266 = clock_getres */
 	{ ns(struct linux32_sys_clock_nanosleep_args), 0,
 	    (sy_call_t *)linux32_sys_clock_nanosleep },/* 267 = clock_nanosleep */
-	{ 0, 0, 0,
-	    linux_sys_nosys },			/* 268 = unimplemented statfs64 */
-	{ 0, 0, 0,
-	    linux_sys_nosys },			/* 269 = unimplemented fstatfs64 */
+	{ ns(struct linux32_sys_statfs64_args), 0,
+	    (sy_call_t *)linux32_sys_statfs64 },/* 268 = statfs64 */
+	{ ns(struct linux32_sys_fstatfs64_args), 0,
+	    (sy_call_t *)linux32_sys_fstatfs64 },/* 269 = fstatfs64 */
 	{ ns(struct linux32_sys_tgkill_args), 0,
 	    (sy_call_t *)linux32_sys_tgkill },	/* 270 = tgkill */
 	{ 0, 0, 0,

Reply via email to