Mon Sep 22 13:08:51 2008 UTC ()
Regen after cleanup.


(njoly)
diff -r1.39 -r1.40 src/sys/compat/linux32/arch/amd64/linux32_syscall.h
diff -r1.39 -r1.40 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h
diff -r1.39 -r1.40 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c
diff -r1.39 -r1.40 src/sys/compat/linux32/arch/amd64/linux32_sysent.c

cvs diff -r1.39 -r1.40 src/sys/compat/linux32/arch/amd64/linux32_syscall.h (expand / switch to unified diff)

--- src/sys/compat/linux32/arch/amd64/linux32_syscall.h 2008/07/24 12:11:14 1.39
+++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h 2008/09/22 13:08:50 1.40
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1/* $NetBSD: linux32_syscall.h,v 1.39 2008/07/24 12:11:14 njoly Exp $ */ 1/* $NetBSD: linux32_syscall.h,v 1.40 2008/09/22 13:08:50 njoly Exp $ */
2 2
3/* 3/*
4 * System call numbers. 4 * System call numbers.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.36 2008/07/24 12:09:56 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.37 2008/09/22 13:07:46 njoly Exp
8 */ 8 */
9 9
10#ifndef _LINUX32_SYS_SYSCALL_H_ 10#ifndef _LINUX32_SYS_SYSCALL_H_
11#define _LINUX32_SYS_SYSCALL_H_ 11#define _LINUX32_SYS_SYSCALL_H_
12 12
13#define LINUX32_SYS_MAXSYSARGS 8 13#define LINUX32_SYS_MAXSYSARGS 8
14 14
15/* syscall: "syscall" ret: "int" args: */ 15/* syscall: "syscall" ret: "int" args: */
16#define LINUX32_SYS_syscall 0 16#define LINUX32_SYS_syscall 0
17 17
18/* syscall: "netbsd32_exit" ret: "int" args: "int" */ 18/* syscall: "netbsd32_exit" ret: "int" args: "int" */
19#define LINUX32_SYS_netbsd32_exit 1 19#define LINUX32_SYS_netbsd32_exit 1
20 20
@@ -100,28 +100,28 @@ @@ -100,28 +100,28 @@
100/* syscall: "netbsd32_access" ret: "int" args: "const netbsd32_charp" "int" */ 100/* syscall: "netbsd32_access" ret: "int" args: "const netbsd32_charp" "int" */
101#define LINUX32_SYS_netbsd32_access 33 101#define LINUX32_SYS_netbsd32_access 33
102 102
103/* syscall: "nice" ret: "int" args: "int" */ 103/* syscall: "nice" ret: "int" args: "int" */
104#define LINUX32_SYS_nice 34 104#define LINUX32_SYS_nice 34
105 105
106 /* 35 is obsolete ftime */ 106 /* 35 is obsolete ftime */
107/* syscall: "sync" ret: "int" args: */ 107/* syscall: "sync" ret: "int" args: */
108#define LINUX32_SYS_sync 36 108#define LINUX32_SYS_sync 36
109 109
110/* syscall: "kill" ret: "int" args: "int" "int" */ 110/* syscall: "kill" ret: "int" args: "int" "int" */
111#define LINUX32_SYS_kill 37 111#define LINUX32_SYS_kill 37
112 112
113/* syscall: "rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */ 113/* syscall: "netbsd32___posix_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
114#define LINUX32_SYS_rename 38 114#define LINUX32_SYS_netbsd32___posix_rename 38
115 115
116/* syscall: "netbsd32_mkdir" ret: "int" args: "const netbsd32_charp" "int" */ 116/* syscall: "netbsd32_mkdir" ret: "int" args: "const netbsd32_charp" "int" */
117#define LINUX32_SYS_netbsd32_mkdir 39 117#define LINUX32_SYS_netbsd32_mkdir 39
118 118
119/* syscall: "netbsd32_rmdir" ret: "int" args: "const netbsd32_charp" */ 119/* syscall: "netbsd32_rmdir" ret: "int" args: "const netbsd32_charp" */
120#define LINUX32_SYS_netbsd32_rmdir 40 120#define LINUX32_SYS_netbsd32_rmdir 40
121 121
122/* syscall: "netbsd32_dup" ret: "int" args: "u_int" */ 122/* syscall: "netbsd32_dup" ret: "int" args: "u_int" */
123#define LINUX32_SYS_netbsd32_dup 41 123#define LINUX32_SYS_netbsd32_dup 41
124 124
125/* syscall: "pipe" ret: "int" args: "netbsd32_intp" */ 125/* syscall: "pipe" ret: "int" args: "netbsd32_intp" */
126#define LINUX32_SYS_pipe 42 126#define LINUX32_SYS_pipe 42
127 127
@@ -231,43 +231,43 @@ @@ -231,43 +231,43 @@
231 231
232/* syscall: "reboot" ret: "int" args: "int" "int" "int" "netbsd32_voidp" */ 232/* syscall: "reboot" ret: "int" args: "int" "int" "int" "netbsd32_voidp" */
233#define LINUX32_SYS_reboot 88 233#define LINUX32_SYS_reboot 88
234 234
235/* syscall: "readdir" ret: "int" args: "int" "netbsd32_voidp" "unsigned int" */ 235/* syscall: "readdir" ret: "int" args: "int" "netbsd32_voidp" "unsigned int" */
236#define LINUX32_SYS_readdir 89 236#define LINUX32_SYS_readdir 89
237 237
238/* syscall: "old_mmap" ret: "int" args: "linux32_oldmmapp" */ 238/* syscall: "old_mmap" ret: "int" args: "linux32_oldmmapp" */
239#define LINUX32_SYS_old_mmap 90 239#define LINUX32_SYS_old_mmap 90
240 240
241/* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_caddr_t" "int" */ 241/* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_caddr_t" "int" */
242#define LINUX32_SYS_netbsd32_munmap 91 242#define LINUX32_SYS_netbsd32_munmap 91
243 243
244/* syscall: "truncate" ret: "int" args: "const netbsd32_charp" "netbsd32_long" */ 244/* syscall: "compat_43_netbsd32_otruncate" ret: "int" args: "const netbsd32_charp" "netbsd32_long" */
245#define LINUX32_SYS_truncate 92 245#define LINUX32_SYS_compat_43_netbsd32_otruncate 92
246 246
247/* syscall: "compat_43_netbsd32_oftruncate" ret: "int" args: "int" "netbsd32_long" */ 247/* syscall: "compat_43_netbsd32_oftruncate" ret: "int" args: "int" "netbsd32_long" */
248#define LINUX32_SYS_compat_43_netbsd32_oftruncate 93 248#define LINUX32_SYS_compat_43_netbsd32_oftruncate 93
249 249
250/* syscall: "netbsd32_fchmod" ret: "int" args: "int" "int" */ 250/* syscall: "netbsd32_fchmod" ret: "int" args: "int" "int" */
251#define LINUX32_SYS_netbsd32_fchmod 94 251#define LINUX32_SYS_netbsd32_fchmod 94
252 252
253/* syscall: "fchown16" ret: "int" args: "int" "linux32_uid16_t" "linux32_gid16_t" */ 253/* syscall: "fchown16" ret: "int" args: "int" "linux32_uid16_t" "linux32_gid16_t" */
254#define LINUX32_SYS_fchown16 95 254#define LINUX32_SYS_fchown16 95
255 255
256/* syscall: "getpriority" ret: "int" args: "int" "int" */ 256/* syscall: "getpriority" ret: "int" args: "int" "int" */
257#define LINUX32_SYS_getpriority 96 257#define LINUX32_SYS_getpriority 96
258 258
259/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */ 259/* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */
260#define LINUX32_SYS_setpriority 97 260#define LINUX32_SYS_netbsd32_setpriority 97
261 261
262/* syscall: "statfs" ret: "int" args: "const netbsd32_charp" "linux32_statfsp" */ 262/* syscall: "statfs" ret: "int" args: "const netbsd32_charp" "linux32_statfsp" */
263#define LINUX32_SYS_statfs 99 263#define LINUX32_SYS_statfs 99
264 264
265/* syscall: "socketcall" ret: "int" args: "int" "netbsd32_voidp" */ 265/* syscall: "socketcall" ret: "int" args: "int" "netbsd32_voidp" */
266#define LINUX32_SYS_socketcall 102 266#define LINUX32_SYS_socketcall 102
267 267
268/* syscall: "netbsd32_setitimer" ret: "int" args: "u_int" "netbsd32_itimervalp_t" "netbsd32_itimervalp_t" */ 268/* syscall: "netbsd32_setitimer" ret: "int" args: "u_int" "netbsd32_itimervalp_t" "netbsd32_itimervalp_t" */
269#define LINUX32_SYS_netbsd32_setitimer 104 269#define LINUX32_SYS_netbsd32_setitimer 104
270 270
271/* syscall: "netbsd32_getitimer" ret: "int" args: "u_int" "netbsd32_itimervalp_t" */ 271/* syscall: "netbsd32_getitimer" ret: "int" args: "u_int" "netbsd32_itimervalp_t" */
272#define LINUX32_SYS_netbsd32_getitimer 105 272#define LINUX32_SYS_netbsd32_getitimer 105
273 273

cvs diff -r1.39 -r1.40 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h (expand / switch to unified diff)

--- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h 2008/07/24 12:11:14 1.39
+++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h 2008/09/22 13:08:50 1.40
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1/* $NetBSD: linux32_syscallargs.h,v 1.39 2008/07/24 12:11:14 njoly Exp $ */ 1/* $NetBSD: linux32_syscallargs.h,v 1.40 2008/09/22 13:08:50 njoly Exp $ */
2 2
3/* 3/*
4 * System call argument lists. 4 * System call argument lists.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.36 2008/07/24 12:09:56 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.37 2008/09/22 13:07:46 njoly Exp
8 */ 8 */
9 9
10#ifndef _LINUX32_SYS_SYSCALLARGS_H_ 10#ifndef _LINUX32_SYS_SYSCALLARGS_H_
11#define _LINUX32_SYS_SYSCALLARGS_H_ 11#define _LINUX32_SYS_SYSCALLARGS_H_
12 12
13#define LINUX32_SYS_MAXSYSARGS 8 13#define LINUX32_SYS_MAXSYSARGS 8
14 14
15#undef syscallarg 15#undef syscallarg
16#define syscallarg(x) \ 16#define syscallarg(x) \
17 union { \ 17 union { \
18 register32_t pad; \ 18 register32_t pad; \
19 struct { x datum; } le; \ 19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \ 20 struct { /* LINTED zero array dimension */ \
@@ -127,31 +127,27 @@ check_syscall_args(linux32_sys_utime) @@ -127,31 +127,27 @@ check_syscall_args(linux32_sys_utime)
127struct netbsd32_access_args; 127struct netbsd32_access_args;
128 128
129struct linux32_sys_nice_args { 129struct linux32_sys_nice_args {
130 syscallarg(int) incr; 130 syscallarg(int) incr;
131}; 131};
132check_syscall_args(linux32_sys_nice) 132check_syscall_args(linux32_sys_nice)
133 133
134struct linux32_sys_kill_args { 134struct linux32_sys_kill_args {
135 syscallarg(int) pid; 135 syscallarg(int) pid;
136 syscallarg(int) signum; 136 syscallarg(int) signum;
137}; 137};
138check_syscall_args(linux32_sys_kill) 138check_syscall_args(linux32_sys_kill)
139 139
140struct linux32_sys_rename_args { 140struct netbsd32___posix_rename_args;
141 syscallarg(const netbsd32_charp) from; 
142 syscallarg(const netbsd32_charp) to; 
143}; 
144check_syscall_args(linux32_sys_rename) 
145 141
146struct netbsd32_mkdir_args; 142struct netbsd32_mkdir_args;
147 143
148struct netbsd32_rmdir_args; 144struct netbsd32_rmdir_args;
149 145
150struct netbsd32_dup_args; 146struct netbsd32_dup_args;
151 147
152struct linux32_sys_pipe_args { 148struct linux32_sys_pipe_args {
153 syscallarg(netbsd32_intp) fd; 149 syscallarg(netbsd32_intp) fd;
154}; 150};
155check_syscall_args(linux32_sys_pipe) 151check_syscall_args(linux32_sys_pipe)
156 152
157struct linux32_sys_times_args { 153struct linux32_sys_times_args {
@@ -281,55 +277,46 @@ struct linux32_sys_readdir_args { @@ -281,55 +277,46 @@ struct linux32_sys_readdir_args {
281 syscallarg(int) fd; 277 syscallarg(int) fd;
282 syscallarg(netbsd32_voidp) dent; 278 syscallarg(netbsd32_voidp) dent;
283 syscallarg(unsigned int) count; 279 syscallarg(unsigned int) count;
284}; 280};
285check_syscall_args(linux32_sys_readdir) 281check_syscall_args(linux32_sys_readdir)
286 282
287struct linux32_sys_old_mmap_args { 283struct linux32_sys_old_mmap_args {
288 syscallarg(linux32_oldmmapp) lmp; 284 syscallarg(linux32_oldmmapp) lmp;
289}; 285};
290check_syscall_args(linux32_sys_old_mmap) 286check_syscall_args(linux32_sys_old_mmap)
291 287
292struct netbsd32_munmap_args; 288struct netbsd32_munmap_args;
293 289
294struct linux32_sys_truncate_args { 290struct compat_43_netbsd32_otruncate_args;
295 syscallarg(const netbsd32_charp) path; 
296 syscallarg(netbsd32_long) length; 
297}; 
298check_syscall_args(linux32_sys_truncate) 
299 291
300struct compat_43_netbsd32_oftruncate_args; 292struct compat_43_netbsd32_oftruncate_args;
301 293
302struct netbsd32_fchmod_args; 294struct netbsd32_fchmod_args;
303 295
304struct linux32_sys_fchown16_args { 296struct linux32_sys_fchown16_args {
305 syscallarg(int) fd; 297 syscallarg(int) fd;
306 syscallarg(linux32_uid16_t) uid; 298 syscallarg(linux32_uid16_t) uid;
307 syscallarg(linux32_gid16_t) gid; 299 syscallarg(linux32_gid16_t) gid;
308}; 300};
309check_syscall_args(linux32_sys_fchown16) 301check_syscall_args(linux32_sys_fchown16)
310 302
311struct linux32_sys_getpriority_args { 303struct linux32_sys_getpriority_args {
312 syscallarg(int) which; 304 syscallarg(int) which;
313 syscallarg(int) who; 305 syscallarg(int) who;
314}; 306};
315check_syscall_args(linux32_sys_getpriority) 307check_syscall_args(linux32_sys_getpriority)
316 308
317struct linux32_sys_setpriority_args { 309struct netbsd32_setpriority_args;
318 syscallarg(int) which; 
319 syscallarg(int) who; 
320 syscallarg(int) prio; 
321}; 
322check_syscall_args(linux32_sys_setpriority) 
323 310
324struct linux32_sys_statfs_args { 311struct linux32_sys_statfs_args {
325 syscallarg(const netbsd32_charp) path; 312 syscallarg(const netbsd32_charp) path;
326 syscallarg(linux32_statfsp) sp; 313 syscallarg(linux32_statfsp) sp;
327}; 314};
328check_syscall_args(linux32_sys_statfs) 315check_syscall_args(linux32_sys_statfs)
329 316
330struct linux32_sys_socketcall_args { 317struct linux32_sys_socketcall_args {
331 syscallarg(int) what; 318 syscallarg(int) what;
332 syscallarg(netbsd32_voidp) args; 319 syscallarg(netbsd32_voidp) args;
333}; 320};
334check_syscall_args(linux32_sys_socketcall) 321check_syscall_args(linux32_sys_socketcall)
335 322
@@ -737,27 +724,27 @@ int linux32_sys_alarm(struct lwp *, cons @@ -737,27 +724,27 @@ int linux32_sys_alarm(struct lwp *, cons
737 724
738int linux_sys_pause(struct lwp *, const void *, register_t *); 725int linux_sys_pause(struct lwp *, const void *, register_t *);
739 726
740int linux32_sys_utime(struct lwp *, const struct linux32_sys_utime_args *, register_t *); 727int linux32_sys_utime(struct lwp *, const struct linux32_sys_utime_args *, register_t *);
741 728
742int netbsd32_access(struct lwp *, const struct netbsd32_access_args *, register_t *); 729int netbsd32_access(struct lwp *, const struct netbsd32_access_args *, register_t *);
743 730
744int linux32_sys_nice(struct lwp *, const struct linux32_sys_nice_args *, register_t *); 731int linux32_sys_nice(struct lwp *, const struct linux32_sys_nice_args *, register_t *);
745 732
746int sys_sync(struct lwp *, const void *, register_t *); 733int sys_sync(struct lwp *, const void *, register_t *);
747 734
748int linux32_sys_kill(struct lwp *, const struct linux32_sys_kill_args *, register_t *); 735int linux32_sys_kill(struct lwp *, const struct linux32_sys_kill_args *, register_t *);
749 736
750int linux32_sys_rename(struct lwp *, const struct linux32_sys_rename_args *, register_t *); 737int netbsd32___posix_rename(struct lwp *, const struct netbsd32___posix_rename_args *, register_t *);
751 738
752int netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *); 739int netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
753 740
754int netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *); 741int netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
755 742
756int netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *); 743int netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
757 744
758int linux32_sys_pipe(struct lwp *, const struct linux32_sys_pipe_args *, register_t *); 745int linux32_sys_pipe(struct lwp *, const struct linux32_sys_pipe_args *, register_t *);
759 746
760int linux32_sys_times(struct lwp *, const struct linux32_sys_times_args *, register_t *); 747int linux32_sys_times(struct lwp *, const struct linux32_sys_times_args *, register_t *);
761 748
762int linux32_sys_brk(struct lwp *, const struct linux32_sys_brk_args *, register_t *); 749int linux32_sys_brk(struct lwp *, const struct linux32_sys_brk_args *, register_t *);
763 750
@@ -821,37 +808,37 @@ int compat_43_netbsd32_lstat43(struct lw @@ -821,37 +808,37 @@ int compat_43_netbsd32_lstat43(struct lw
821 808
822int netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *); 809int netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
823 810
824int linux32_sys_swapon(struct lwp *, const struct linux32_sys_swapon_args *, register_t *); 811int linux32_sys_swapon(struct lwp *, const struct linux32_sys_swapon_args *, register_t *);
825 812
826int linux32_sys_reboot(struct lwp *, const struct linux32_sys_reboot_args *, register_t *); 813int linux32_sys_reboot(struct lwp *, const struct linux32_sys_reboot_args *, register_t *);
827 814
828int linux32_sys_readdir(struct lwp *, const struct linux32_sys_readdir_args *, register_t *); 815int linux32_sys_readdir(struct lwp *, const struct linux32_sys_readdir_args *, register_t *);
829 816
830int linux32_sys_old_mmap(struct lwp *, const struct linux32_sys_old_mmap_args *, register_t *); 817int linux32_sys_old_mmap(struct lwp *, const struct linux32_sys_old_mmap_args *, register_t *);
831 818
832int netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *); 819int netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
833 820
834int linux32_sys_truncate(struct lwp *, const struct linux32_sys_truncate_args *, register_t *); 821int compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
835 822
836int compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *); 823int compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
837 824
838int netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *); 825int netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
839 826
840int linux32_sys_fchown16(struct lwp *, const struct linux32_sys_fchown16_args *, register_t *); 827int linux32_sys_fchown16(struct lwp *, const struct linux32_sys_fchown16_args *, register_t *);
841 828
842int linux32_sys_getpriority(struct lwp *, const struct linux32_sys_getpriority_args *, register_t *); 829int linux32_sys_getpriority(struct lwp *, const struct linux32_sys_getpriority_args *, register_t *);
843 830
844int linux32_sys_setpriority(struct lwp *, const struct linux32_sys_setpriority_args *, register_t *); 831int netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
845 832
846int linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *); 833int linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *);
847 834
848int linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *); 835int linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *);
849 836
850int netbsd32_setitimer(struct lwp *, const struct netbsd32_setitimer_args *, register_t *); 837int netbsd32_setitimer(struct lwp *, const struct netbsd32_setitimer_args *, register_t *);
851 838
852int netbsd32_getitimer(struct lwp *, const struct netbsd32_getitimer_args *, register_t *); 839int netbsd32_getitimer(struct lwp *, const struct netbsd32_getitimer_args *, register_t *);
853 840
854int linux32_sys_olduname(struct lwp *, const struct linux32_sys_olduname_args *, register_t *); 841int linux32_sys_olduname(struct lwp *, const struct linux32_sys_olduname_args *, register_t *);
855 842
856int linux32_sys_wait4(struct lwp *, const struct linux32_sys_wait4_args *, register_t *); 843int linux32_sys_wait4(struct lwp *, const struct linux32_sys_wait4_args *, register_t *);
857 844

cvs diff -r1.39 -r1.40 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c (expand / switch to unified diff)

--- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c 2008/07/24 12:11:14 1.39
+++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c 2008/09/22 13:08:50 1.40
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1/* $NetBSD: linux32_syscalls.c,v 1.39 2008/07/24 12:11:14 njoly Exp $ */ 1/* $NetBSD: linux32_syscalls.c,v 1.40 2008/09/22 13:08:50 njoly Exp $ */
2 2
3/* 3/*
4 * System call names. 4 * System call names.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.36 2008/07/24 12:09:56 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.37 2008/09/22 13:07:46 njoly Exp
8 */ 8 */
9 9
10#include <sys/cdefs.h> 10#include <sys/cdefs.h>
11__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.39 2008/07/24 12:11:14 njoly Exp $"); 11__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.40 2008/09/22 13:08:50 njoly Exp $");
12 12
13#if defined(_KERNEL_OPT) 13#if defined(_KERNEL_OPT)
14#if defined(_KERNEL_OPT) 14#if defined(_KERNEL_OPT)
15#include "opt_compat_43.h" 15#include "opt_compat_43.h"
16#endif 16#endif
17#include <sys/param.h> 17#include <sys/param.h>
18#include <sys/poll.h> 18#include <sys/poll.h>
19#include <sys/systm.h> 19#include <sys/systm.h>
20#include <sys/signal.h> 20#include <sys/signal.h>
21#include <sys/mount.h> 21#include <sys/mount.h>
22#include <sys/syscallargs.h> 22#include <sys/syscallargs.h>
23#include <machine/netbsd32_machdep.h> 23#include <machine/netbsd32_machdep.h>
24#include <compat/netbsd32/netbsd32.h> 24#include <compat/netbsd32/netbsd32.h>
@@ -64,27 +64,27 @@ const char *const linux32_syscallnames[] @@ -64,27 +64,27 @@ const char *const linux32_syscallnames[]
64 /* 25 */ "stime", 64 /* 25 */ "stime",
65 /* 26 */ "ptrace", 65 /* 26 */ "ptrace",
66 /* 27 */ "alarm", 66 /* 27 */ "alarm",
67 /* 28 */ "#28 (obsolete ofstat)", 67 /* 28 */ "#28 (obsolete ofstat)",
68 /* 29 */ "pause", 68 /* 29 */ "pause",
69 /* 30 */ "utime", 69 /* 30 */ "utime",
70 /* 31 */ "#31 (obsolete stty)", 70 /* 31 */ "#31 (obsolete stty)",
71 /* 32 */ "#32 (obsolete gtty)", 71 /* 32 */ "#32 (obsolete gtty)",
72 /* 33 */ "netbsd32_access", 72 /* 33 */ "netbsd32_access",
73 /* 34 */ "nice", 73 /* 34 */ "nice",
74 /* 35 */ "#35 (obsolete ftime)", 74 /* 35 */ "#35 (obsolete ftime)",
75 /* 36 */ "sync", 75 /* 36 */ "sync",
76 /* 37 */ "kill", 76 /* 37 */ "kill",
77 /* 38 */ "rename", 77 /* 38 */ "netbsd32___posix_rename",
78 /* 39 */ "netbsd32_mkdir", 78 /* 39 */ "netbsd32_mkdir",
79 /* 40 */ "netbsd32_rmdir", 79 /* 40 */ "netbsd32_rmdir",
80 /* 41 */ "netbsd32_dup", 80 /* 41 */ "netbsd32_dup",
81 /* 42 */ "pipe", 81 /* 42 */ "pipe",
82 /* 43 */ "times", 82 /* 43 */ "times",
83 /* 44 */ "#44 (obsolete prof)", 83 /* 44 */ "#44 (obsolete prof)",
84 /* 45 */ "brk", 84 /* 45 */ "brk",
85 /* 46 */ "linux_setgid16", 85 /* 46 */ "linux_setgid16",
86 /* 47 */ "linux_getgid16", 86 /* 47 */ "linux_getgid16",
87 /* 48 */ "signal", 87 /* 48 */ "signal",
88 /* 49 */ "linux_geteuid16", 88 /* 49 */ "linux_geteuid16",
89 /* 50 */ "linux_getegid16", 89 /* 50 */ "linux_getegid16",
90 /* 51 */ "netbsd32_acct", 90 /* 51 */ "netbsd32_acct",
@@ -118,32 +118,32 @@ const char *const linux32_syscallnames[] @@ -118,32 +118,32 @@ const char *const linux32_syscallnames[]
118 /* 79 */ "settimeofday", 118 /* 79 */ "settimeofday",
119 /* 80 */ "getgroups16", 119 /* 80 */ "getgroups16",
120 /* 81 */ "setgroups16", 120 /* 81 */ "setgroups16",
121 /* 82 */ "oldselect", 121 /* 82 */ "oldselect",
122 /* 83 */ "netbsd32_symlink", 122 /* 83 */ "netbsd32_symlink",
123 /* 84 */ "compat_43_netbsd32_lstat43", 123 /* 84 */ "compat_43_netbsd32_lstat43",
124 /* 85 */ "netbsd32_readlink", 124 /* 85 */ "netbsd32_readlink",
125 /* 86 */ "#86 (unimplemented uselib)", 125 /* 86 */ "#86 (unimplemented uselib)",
126 /* 87 */ "swapon", 126 /* 87 */ "swapon",
127 /* 88 */ "reboot", 127 /* 88 */ "reboot",
128 /* 89 */ "readdir", 128 /* 89 */ "readdir",
129 /* 90 */ "old_mmap", 129 /* 90 */ "old_mmap",
130 /* 91 */ "netbsd32_munmap", 130 /* 91 */ "netbsd32_munmap",
131 /* 92 */ "truncate", 131 /* 92 */ "compat_43_netbsd32_otruncate",
132 /* 93 */ "compat_43_netbsd32_oftruncate", 132 /* 93 */ "compat_43_netbsd32_oftruncate",
133 /* 94 */ "netbsd32_fchmod", 133 /* 94 */ "netbsd32_fchmod",
134 /* 95 */ "fchown16", 134 /* 95 */ "fchown16",
135 /* 96 */ "getpriority", 135 /* 96 */ "getpriority",
136 /* 97 */ "setpriority", 136 /* 97 */ "netbsd32_setpriority",
137 /* 98 */ "#98 (unimplemented profil)", 137 /* 98 */ "#98 (unimplemented profil)",
138 /* 99 */ "statfs", 138 /* 99 */ "statfs",
139 /* 100 */ "#100 (unimplemented fstatfs)", 139 /* 100 */ "#100 (unimplemented fstatfs)",
140 /* 101 */ "#101 (unimplemented ioperm)", 140 /* 101 */ "#101 (unimplemented ioperm)",
141 /* 102 */ "socketcall", 141 /* 102 */ "socketcall",
142 /* 103 */ "#103 (unimplemented syslog)", 142 /* 103 */ "#103 (unimplemented syslog)",
143 /* 104 */ "netbsd32_setitimer", 143 /* 104 */ "netbsd32_setitimer",
144 /* 105 */ "netbsd32_getitimer", 144 /* 105 */ "netbsd32_getitimer",
145 /* 106 */ "#106 (unimplemented stat)", 145 /* 106 */ "#106 (unimplemented stat)",
146 /* 107 */ "#107 (unimplemented lstat)", 146 /* 107 */ "#107 (unimplemented lstat)",
147 /* 108 */ "#108 (unimplemented fstat)", 147 /* 108 */ "#108 (unimplemented fstat)",
148 /* 109 */ "olduname", 148 /* 109 */ "olduname",
149 /* 110 */ "#110 (unimplemented iopl)", 149 /* 110 */ "#110 (unimplemented iopl)",

cvs diff -r1.39 -r1.40 src/sys/compat/linux32/arch/amd64/linux32_sysent.c (expand / switch to unified diff)

--- src/sys/compat/linux32/arch/amd64/linux32_sysent.c 2008/07/24 12:11:14 1.39
+++ src/sys/compat/linux32/arch/amd64/linux32_sysent.c 2008/09/22 13:08:51 1.40
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1/* $NetBSD: linux32_sysent.c,v 1.39 2008/07/24 12:11:14 njoly Exp $ */ 1/* $NetBSD: linux32_sysent.c,v 1.40 2008/09/22 13:08:51 njoly Exp $ */
2 2
3/* 3/*
4 * System call switch table. 4 * System call switch table.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.36 2008/07/24 12:09:56 njoly Exp 7 * created from NetBSD: syscalls.master,v 1.37 2008/09/22 13:07:46 njoly Exp
8 */ 8 */
9 9
10#include <sys/cdefs.h> 10#include <sys/cdefs.h>
11__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.39 2008/07/24 12:11:14 njoly Exp $"); 11__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.40 2008/09/22 13:08:51 njoly Exp $");
12 12
13#if defined(_KERNEL_OPT) 13#if defined(_KERNEL_OPT)
14#include "opt_compat_43.h" 14#include "opt_compat_43.h"
15#endif 15#endif
16#include <sys/param.h> 16#include <sys/param.h>
17#include <sys/poll.h> 17#include <sys/poll.h>
18#include <sys/systm.h> 18#include <sys/systm.h>
19#include <sys/signal.h> 19#include <sys/signal.h>
20#include <sys/mount.h> 20#include <sys/mount.h>
21#include <sys/syscallargs.h> 21#include <sys/syscallargs.h>
22#include <machine/netbsd32_machdep.h> 22#include <machine/netbsd32_machdep.h>
23#include <compat/netbsd32/netbsd32.h> 23#include <compat/netbsd32/netbsd32.h>
24#include <compat/netbsd32/netbsd32_syscallargs.h> 24#include <compat/netbsd32/netbsd32_syscallargs.h>
@@ -104,28 +104,28 @@ struct sysent linux32_sysent[] = { @@ -104,28 +104,28 @@ struct sysent linux32_sysent[] = {
104 linux_sys_nosys }, /* 31 = obsolete stty */ 104 linux_sys_nosys }, /* 31 = obsolete stty */
105 { 0, 0, 0, 105 { 0, 0, 0,
106 linux_sys_nosys }, /* 32 = obsolete gtty */ 106 linux_sys_nosys }, /* 32 = obsolete gtty */
107 { ns(struct netbsd32_access_args), 0, 107 { ns(struct netbsd32_access_args), 0,
108 (sy_call_t *)netbsd32_access }, /* 33 = netbsd32_access */ 108 (sy_call_t *)netbsd32_access }, /* 33 = netbsd32_access */
109 { ns(struct linux32_sys_nice_args), 0, 109 { ns(struct linux32_sys_nice_args), 0,
110 (sy_call_t *)linux32_sys_nice }, /* 34 = nice */ 110 (sy_call_t *)linux32_sys_nice }, /* 34 = nice */
111 { 0, 0, 0, 111 { 0, 0, 0,
112 linux_sys_nosys }, /* 35 = obsolete ftime */ 112 linux_sys_nosys }, /* 35 = obsolete ftime */
113 { 0, 0, 0, 113 { 0, 0, 0,
114 (sy_call_t *)sys_sync }, /* 36 = sync */ 114 (sy_call_t *)sys_sync }, /* 36 = sync */
115 { ns(struct linux32_sys_kill_args), 0, 115 { ns(struct linux32_sys_kill_args), 0,
116 (sy_call_t *)linux32_sys_kill }, /* 37 = kill */ 116 (sy_call_t *)linux32_sys_kill }, /* 37 = kill */
117 { ns(struct linux32_sys_rename_args), 0, 117 { ns(struct netbsd32___posix_rename_args), 0,
118 (sy_call_t *)linux32_sys_rename }, /* 38 = rename */ 118 (sy_call_t *)netbsd32___posix_rename },/* 38 = netbsd32___posix_rename */
119 { ns(struct netbsd32_mkdir_args), 0, 119 { ns(struct netbsd32_mkdir_args), 0,
120 (sy_call_t *)netbsd32_mkdir }, /* 39 = netbsd32_mkdir */ 120 (sy_call_t *)netbsd32_mkdir }, /* 39 = netbsd32_mkdir */
121 { ns(struct netbsd32_rmdir_args), 0, 121 { ns(struct netbsd32_rmdir_args), 0,
122 (sy_call_t *)netbsd32_rmdir }, /* 40 = netbsd32_rmdir */ 122 (sy_call_t *)netbsd32_rmdir }, /* 40 = netbsd32_rmdir */
123 { ns(struct netbsd32_dup_args), 0, 123 { ns(struct netbsd32_dup_args), 0,
124 (sy_call_t *)netbsd32_dup }, /* 41 = netbsd32_dup */ 124 (sy_call_t *)netbsd32_dup }, /* 41 = netbsd32_dup */
125 { ns(struct linux32_sys_pipe_args), 0, 125 { ns(struct linux32_sys_pipe_args), 0,
126 (sy_call_t *)linux32_sys_pipe }, /* 42 = pipe */ 126 (sy_call_t *)linux32_sys_pipe }, /* 42 = pipe */
127 { ns(struct linux32_sys_times_args), 0, 127 { ns(struct linux32_sys_times_args), 0,
128 (sy_call_t *)linux32_sys_times }, /* 43 = times */ 128 (sy_call_t *)linux32_sys_times }, /* 43 = times */
129 { 0, 0, 0, 129 { 0, 0, 0,
130 linux_sys_nosys }, /* 44 = obsolete prof */ 130 linux_sys_nosys }, /* 44 = obsolete prof */
131 { ns(struct linux32_sys_brk_args), 0, 131 { ns(struct linux32_sys_brk_args), 0,
@@ -212,38 +212,38 @@ struct sysent linux32_sysent[] = { @@ -212,38 +212,38 @@ struct sysent linux32_sysent[] = {
212 (sy_call_t *)netbsd32_readlink }, /* 85 = netbsd32_readlink */ 212 (sy_call_t *)netbsd32_readlink }, /* 85 = netbsd32_readlink */
213 { 0, 0, 0, 213 { 0, 0, 0,
214 linux_sys_nosys }, /* 86 = unimplemented uselib */ 214 linux_sys_nosys }, /* 86 = unimplemented uselib */
215 { ns(struct linux32_sys_swapon_args), 0, 215 { ns(struct linux32_sys_swapon_args), 0,
216 (sy_call_t *)linux32_sys_swapon }, /* 87 = swapon */ 216 (sy_call_t *)linux32_sys_swapon }, /* 87 = swapon */
217 { ns(struct linux32_sys_reboot_args), 0, 217 { ns(struct linux32_sys_reboot_args), 0,
218 (sy_call_t *)linux32_sys_reboot }, /* 88 = reboot */ 218 (sy_call_t *)linux32_sys_reboot }, /* 88 = reboot */
219 { ns(struct linux32_sys_readdir_args), 0, 219 { ns(struct linux32_sys_readdir_args), 0,
220 (sy_call_t *)linux32_sys_readdir }, /* 89 = readdir */ 220 (sy_call_t *)linux32_sys_readdir }, /* 89 = readdir */
221 { ns(struct linux32_sys_old_mmap_args), 0, 221 { ns(struct linux32_sys_old_mmap_args), 0,
222 (sy_call_t *)linux32_sys_old_mmap },/* 90 = old_mmap */ 222 (sy_call_t *)linux32_sys_old_mmap },/* 90 = old_mmap */
223 { ns(struct netbsd32_munmap_args), 0, 223 { ns(struct netbsd32_munmap_args), 0,
224 (sy_call_t *)netbsd32_munmap }, /* 91 = netbsd32_munmap */ 224 (sy_call_t *)netbsd32_munmap }, /* 91 = netbsd32_munmap */
225 { ns(struct linux32_sys_truncate_args), 0, 225 { ns(struct compat_43_netbsd32_otruncate_args), 0,
226 (sy_call_t *)linux32_sys_truncate },/* 92 = truncate */ 226 (sy_call_t *)compat_43_netbsd32_otruncate },/* 92 = compat_43_netbsd32_otruncate */
227 { ns(struct compat_43_netbsd32_oftruncate_args), 0, 227 { ns(struct compat_43_netbsd32_oftruncate_args), 0,
228 (sy_call_t *)compat_43_netbsd32_oftruncate },/* 93 = compat_43_netbsd32_oftruncate */ 228 (sy_call_t *)compat_43_netbsd32_oftruncate },/* 93 = compat_43_netbsd32_oftruncate */
229 { ns(struct netbsd32_fchmod_args), 0, 229 { ns(struct netbsd32_fchmod_args), 0,
230 (sy_call_t *)netbsd32_fchmod }, /* 94 = netbsd32_fchmod */ 230 (sy_call_t *)netbsd32_fchmod }, /* 94 = netbsd32_fchmod */
231 { ns(struct linux32_sys_fchown16_args), 0, 231 { ns(struct linux32_sys_fchown16_args), 0,
232 (sy_call_t *)linux32_sys_fchown16 },/* 95 = fchown16 */ 232 (sy_call_t *)linux32_sys_fchown16 },/* 95 = fchown16 */
233 { ns(struct linux32_sys_getpriority_args), 0, 233 { ns(struct linux32_sys_getpriority_args), 0,
234 (sy_call_t *)linux32_sys_getpriority },/* 96 = getpriority */ 234 (sy_call_t *)linux32_sys_getpriority },/* 96 = getpriority */
235 { ns(struct linux32_sys_setpriority_args), 0, 235 { ns(struct netbsd32_setpriority_args), 0,
236 (sy_call_t *)linux32_sys_setpriority },/* 97 = setpriority */ 236 (sy_call_t *)netbsd32_setpriority },/* 97 = netbsd32_setpriority */
237 { 0, 0, 0, 237 { 0, 0, 0,
238 linux_sys_nosys }, /* 98 = unimplemented profil */ 238 linux_sys_nosys }, /* 98 = unimplemented profil */
239 { ns(struct linux32_sys_statfs_args), 0, 239 { ns(struct linux32_sys_statfs_args), 0,
240 (sy_call_t *)linux32_sys_statfs }, /* 99 = statfs */ 240 (sy_call_t *)linux32_sys_statfs }, /* 99 = statfs */
241 { 0, 0, 0, 241 { 0, 0, 0,
242 linux_sys_nosys }, /* 100 = unimplemented fstatfs */ 242 linux_sys_nosys }, /* 100 = unimplemented fstatfs */
243 { 0, 0, 0, 243 { 0, 0, 0,
244 linux_sys_nosys }, /* 101 = unimplemented ioperm */ 244 linux_sys_nosys }, /* 101 = unimplemented ioperm */
245 { ns(struct linux32_sys_socketcall_args), 0, 245 { ns(struct linux32_sys_socketcall_args), 0,
246 (sy_call_t *)linux32_sys_socketcall },/* 102 = socketcall */ 246 (sy_call_t *)linux32_sys_socketcall },/* 102 = socketcall */
247 { 0, 0, 0, 247 { 0, 0, 0,
248 linux_sys_nosys }, /* 103 = unimplemented syslog */ 248 linux_sys_nosys }, /* 103 = unimplemented syslog */
249 { ns(struct netbsd32_setitimer_args), 0, 249 { ns(struct netbsd32_setitimer_args), 0,