regendiff -r1.109.2.2 -r1.109.2.3 src/sys/compat/netbsd32/netbsd32_syscall.h
(martin)
--- src/sys/compat/netbsd32/netbsd32_syscall.h 2015/11/04 17:46:21 1.109.2.2
+++ src/sys/compat/netbsd32/netbsd32_syscall.h 2015/11/06 09:19:24 1.109.2.3
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | /* $NetBSD: netbsd32_syscall.h,v 1.109.2.2 2015/11/04 17:46:21 riz Exp $ */ | 1 | /* $NetBSD: netbsd32_syscall.h,v 1.109.2.3 2015/11/06 09:19:24 martin 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.101.2.1 2015/03/07 05:22:01 snj Exp | 7 | * created from NetBSD: syscalls.master,v 1.101.2.3 2015/11/06 09:16:48 martin Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #ifndef _NETBSD32_SYS_SYSCALL_H_ | 10 | #ifndef _NETBSD32_SYS_SYSCALL_H_ | |
11 | #define _NETBSD32_SYS_SYSCALL_H_ | 11 | #define _NETBSD32_SYS_SYSCALL_H_ | |
12 | 12 | |||
13 | #define NETBSD32_SYS_MAXSYSARGS 8 | 13 | #define NETBSD32_SYS_MAXSYSARGS 8 | |
14 | 14 | |||
15 | /* syscall: "netbsd32_syscall" ret: "int" args: "int" "..." */ | 15 | /* syscall: "netbsd32_syscall" ret: "int" args: "int" "..." */ | |
16 | #define NETBSD32_SYS_netbsd32_syscall 0 | 16 | #define NETBSD32_SYS_netbsd32_syscall 0 | |
17 | 17 | |||
18 | /* syscall: "netbsd32_exit" ret: "void" args: "int" */ | 18 | /* syscall: "netbsd32_exit" ret: "void" args: "int" */ | |
19 | #define NETBSD32_SYS_netbsd32_exit 1 | 19 | #define NETBSD32_SYS_netbsd32_exit 1 | |
20 | 20 | |||
@@ -431,29 +431,33 @@ | @@ -431,29 +431,33 @@ | |||
431 | 431 | |||
432 | /* syscall: "setsid" ret: "int" args: */ | 432 | /* syscall: "setsid" ret: "int" args: */ | |
433 | #define NETBSD32_SYS_setsid 147 | 433 | #define NETBSD32_SYS_setsid 147 | |
434 | 434 | |||
435 | /* syscall: "compat_50_netbsd32_quotactl" ret: "int" args: "netbsd32_charp" "int" "int" "netbsd32_voidp" */ | 435 | /* syscall: "compat_50_netbsd32_quotactl" ret: "int" args: "netbsd32_charp" "int" "int" "netbsd32_voidp" */ | |
436 | #define NETBSD32_SYS_compat_50_netbsd32_quotactl 148 | 436 | #define NETBSD32_SYS_compat_50_netbsd32_quotactl 148 | |
437 | 437 | |||
438 | /* syscall: "compat_43_oquota" ret: "int" args: */ | 438 | /* syscall: "compat_43_oquota" ret: "int" args: */ | |
439 | #define NETBSD32_SYS_compat_43_oquota 149 | 439 | #define NETBSD32_SYS_compat_43_oquota 149 | |
440 | 440 | |||
441 | /* syscall: "compat_43_netbsd32_ogetsockname" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_intp" */ | 441 | /* syscall: "compat_43_netbsd32_ogetsockname" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_intp" */ | |
442 | #define NETBSD32_SYS_compat_43_netbsd32_ogetsockname 150 | 442 | #define NETBSD32_SYS_compat_43_netbsd32_ogetsockname 150 | |
443 | 443 | |||
444 | #if defined(NFSSERVER) || !defined(_KERNEL_OPT) | |||
444 | /* syscall: "netbsd32_nfssvc" ret: "int" args: "int" "netbsd32_voidp" */ | 445 | /* syscall: "netbsd32_nfssvc" ret: "int" args: "int" "netbsd32_voidp" */ | |
445 | #define NETBSD32_SYS_netbsd32_nfssvc 155 | 446 | #define NETBSD32_SYS_netbsd32_nfssvc 155 | |
446 | 447 | |||
448 | #else | |||
449 | /* 155 is excluded netbsd32_nfssvc */ | |||
450 | #endif | |||
447 | /* syscall: "compat_43_netbsd32_ogetdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */ | 451 | /* syscall: "compat_43_netbsd32_ogetdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */ | |
448 | #define NETBSD32_SYS_compat_43_netbsd32_ogetdirentries 156 | 452 | #define NETBSD32_SYS_compat_43_netbsd32_ogetdirentries 156 | |
449 | 453 | |||
450 | /* syscall: "compat_20_netbsd32_statfs" ret: "int" args: "netbsd32_charp" "netbsd32_statfsp_t" */ | 454 | /* syscall: "compat_20_netbsd32_statfs" ret: "int" args: "netbsd32_charp" "netbsd32_statfsp_t" */ | |
451 | #define NETBSD32_SYS_compat_20_netbsd32_statfs 157 | 455 | #define NETBSD32_SYS_compat_20_netbsd32_statfs 157 | |
452 | 456 | |||
453 | /* syscall: "compat_20_netbsd32_fstatfs" ret: "int" args: "int" "netbsd32_statfsp_t" */ | 457 | /* syscall: "compat_20_netbsd32_fstatfs" ret: "int" args: "int" "netbsd32_statfsp_t" */ | |
454 | #define NETBSD32_SYS_compat_20_netbsd32_fstatfs 158 | 458 | #define NETBSD32_SYS_compat_20_netbsd32_fstatfs 158 | |
455 | 459 | |||
456 | /* syscall: "compat_30_netbsd32_getfh" ret: "int" args: "netbsd32_charp" "netbsd32_compat_30_fhandlep_t" */ | 460 | /* syscall: "compat_30_netbsd32_getfh" ret: "int" args: "netbsd32_charp" "netbsd32_compat_30_fhandlep_t" */ | |
457 | #define NETBSD32_SYS_compat_30_netbsd32_getfh 161 | 461 | #define NETBSD32_SYS_compat_30_netbsd32_getfh 161 | |
458 | 462 | |||
459 | /* syscall: "compat_09_netbsd32_ogetdomainname" ret: "int" args: "netbsd32_charp" "int" */ | 463 | /* syscall: "compat_09_netbsd32_ogetdomainname" ret: "int" args: "netbsd32_charp" "int" */ |
--- src/sys/compat/netbsd32/netbsd32_syscallargs.h 2015/11/04 17:46:21 1.109.2.2
+++ src/sys/compat/netbsd32/netbsd32_syscallargs.h 2015/11/06 09:19:24 1.109.2.3
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | /* $NetBSD: netbsd32_syscallargs.h,v 1.109.2.2 2015/11/04 17:46:21 riz Exp $ */ | 1 | /* $NetBSD: netbsd32_syscallargs.h,v 1.109.2.3 2015/11/06 09:19:24 martin 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.101.2.1 2015/03/07 05:22:01 snj Exp | 7 | * created from NetBSD: syscalls.master,v 1.101.2.3 2015/11/06 09:16:48 martin Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #ifndef _NETBSD32_SYS_SYSCALLARGS_H_ | 10 | #ifndef _NETBSD32_SYS_SYSCALLARGS_H_ | |
11 | #define _NETBSD32_SYS_SYSCALLARGS_H_ | 11 | #define _NETBSD32_SYS_SYSCALLARGS_H_ | |
12 | 12 | |||
13 | #define NETBSD32_SYS_MAXSYSARGS 8 | 13 | #define NETBSD32_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 */ \ | |
@@ -805,32 +805,35 @@ struct compat_50_netbsd32_quotactl_args | @@ -805,32 +805,35 @@ struct compat_50_netbsd32_quotactl_args | |||
805 | syscallarg(netbsd32_charp) path; | 805 | syscallarg(netbsd32_charp) path; | |
806 | syscallarg(int) cmd; | 806 | syscallarg(int) cmd; | |
807 | syscallarg(int) uid; | 807 | syscallarg(int) uid; | |
808 | syscallarg(netbsd32_voidp) arg; | 808 | syscallarg(netbsd32_voidp) arg; | |
809 | }; | 809 | }; | |
810 | check_syscall_args(compat_50_netbsd32_quotactl) | 810 | check_syscall_args(compat_50_netbsd32_quotactl) | |
811 | 811 | |||
812 | struct compat_43_netbsd32_ogetsockname_args { | 812 | struct compat_43_netbsd32_ogetsockname_args { | |
813 | syscallarg(int) fdec; | 813 | syscallarg(int) fdec; | |
814 | syscallarg(netbsd32_voidp) asa; | 814 | syscallarg(netbsd32_voidp) asa; | |
815 | syscallarg(netbsd32_intp) alen; | 815 | syscallarg(netbsd32_intp) alen; | |
816 | }; | 816 | }; | |
817 | check_syscall_args(compat_43_netbsd32_ogetsockname) | 817 | check_syscall_args(compat_43_netbsd32_ogetsockname) | |
818 | #if defined(NFSSERVER) || !defined(_KERNEL_OPT) | |||
818 | 819 | |||
819 | struct netbsd32_nfssvc_args { | 820 | struct netbsd32_nfssvc_args { | |
820 | syscallarg(int) flag; | 821 | syscallarg(int) flag; | |
821 | syscallarg(netbsd32_voidp) argp; | 822 | syscallarg(netbsd32_voidp) argp; | |
822 | }; | 823 | }; | |
823 | check_syscall_args(netbsd32_nfssvc) | 824 | check_syscall_args(netbsd32_nfssvc) | |
825 | #else | |||
826 | #endif | |||
824 | 827 | |||
825 | struct compat_43_netbsd32_ogetdirentries_args { | 828 | struct compat_43_netbsd32_ogetdirentries_args { | |
826 | syscallarg(int) fd; | 829 | syscallarg(int) fd; | |
827 | syscallarg(netbsd32_charp) buf; | 830 | syscallarg(netbsd32_charp) buf; | |
828 | syscallarg(u_int) count; | 831 | syscallarg(u_int) count; | |
829 | syscallarg(netbsd32_longp) basep; | 832 | syscallarg(netbsd32_longp) basep; | |
830 | }; | 833 | }; | |
831 | check_syscall_args(compat_43_netbsd32_ogetdirentries) | 834 | check_syscall_args(compat_43_netbsd32_ogetdirentries) | |
832 | 835 | |||
833 | struct compat_20_netbsd32_statfs_args { | 836 | struct compat_20_netbsd32_statfs_args { | |
834 | syscallarg(netbsd32_charp) path; | 837 | syscallarg(netbsd32_charp) path; | |
835 | syscallarg(netbsd32_statfsp_t) buf; | 838 | syscallarg(netbsd32_statfsp_t) buf; | |
836 | }; | 839 | }; | |
@@ -2745,28 +2748,31 @@ int compat_43_netbsd32_ogetrlimit(struct | @@ -2745,28 +2748,31 @@ int compat_43_netbsd32_ogetrlimit(struct | |||
2745 | 2748 | |||
2746 | int compat_43_netbsd32_osetrlimit(struct lwp *, const struct compat_43_netbsd32_osetrlimit_args *, register_t *); | 2749 | int compat_43_netbsd32_osetrlimit(struct lwp *, const struct compat_43_netbsd32_osetrlimit_args *, register_t *); | |
2747 | 2750 | |||
2748 | int compat_43_netbsd32_killpg(struct lwp *, const struct compat_43_netbsd32_killpg_args *, register_t *); | 2751 | int compat_43_netbsd32_killpg(struct lwp *, const struct compat_43_netbsd32_killpg_args *, register_t *); | |
2749 | 2752 | |||
2750 | int sys_setsid(struct lwp *, const void *, register_t *); | 2753 | int sys_setsid(struct lwp *, const void *, register_t *); | |
2751 | 2754 | |||
2752 | int compat_50_netbsd32_quotactl(struct lwp *, const struct compat_50_netbsd32_quotactl_args *, register_t *); | 2755 | int compat_50_netbsd32_quotactl(struct lwp *, const struct compat_50_netbsd32_quotactl_args *, register_t *); | |
2753 | 2756 | |||
2754 | int compat_43_sys_quota(struct lwp *, const void *, register_t *); | 2757 | int compat_43_sys_quota(struct lwp *, const void *, register_t *); | |
2755 | 2758 | |||
2756 | int compat_43_netbsd32_ogetsockname(struct lwp *, const struct compat_43_netbsd32_ogetsockname_args *, register_t *); | 2759 | int compat_43_netbsd32_ogetsockname(struct lwp *, const struct compat_43_netbsd32_ogetsockname_args *, register_t *); | |
2757 | 2760 | |||
2761 | #if defined(NFSSERVER) || !defined(_KERNEL_OPT) | |||
2758 | int netbsd32_nfssvc(struct lwp *, const struct netbsd32_nfssvc_args *, register_t *); | 2762 | int netbsd32_nfssvc(struct lwp *, const struct netbsd32_nfssvc_args *, register_t *); | |
2759 | 2763 | |||
2764 | #else | |||
2765 | #endif | |||
2760 | int compat_43_netbsd32_ogetdirentries(struct lwp *, const struct compat_43_netbsd32_ogetdirentries_args *, register_t *); | 2766 | int compat_43_netbsd32_ogetdirentries(struct lwp *, const struct compat_43_netbsd32_ogetdirentries_args *, register_t *); | |
2761 | 2767 | |||
2762 | int compat_20_netbsd32_statfs(struct lwp *, const struct compat_20_netbsd32_statfs_args *, register_t *); | 2768 | int compat_20_netbsd32_statfs(struct lwp *, const struct compat_20_netbsd32_statfs_args *, register_t *); | |
2763 | 2769 | |||
2764 | int compat_20_netbsd32_fstatfs(struct lwp *, const struct compat_20_netbsd32_fstatfs_args *, register_t *); | 2770 | int compat_20_netbsd32_fstatfs(struct lwp *, const struct compat_20_netbsd32_fstatfs_args *, register_t *); | |
2765 | 2771 | |||
2766 | int compat_30_netbsd32_getfh(struct lwp *, const struct compat_30_netbsd32_getfh_args *, register_t *); | 2772 | int compat_30_netbsd32_getfh(struct lwp *, const struct compat_30_netbsd32_getfh_args *, register_t *); | |
2767 | 2773 | |||
2768 | int compat_09_netbsd32_ogetdomainname(struct lwp *, const struct compat_09_netbsd32_ogetdomainname_args *, register_t *); | 2774 | int compat_09_netbsd32_ogetdomainname(struct lwp *, const struct compat_09_netbsd32_ogetdomainname_args *, register_t *); | |
2769 | 2775 | |||
2770 | int compat_09_netbsd32_osetdomainname(struct lwp *, const struct compat_09_netbsd32_osetdomainname_args *, register_t *); | 2776 | int compat_09_netbsd32_osetdomainname(struct lwp *, const struct compat_09_netbsd32_osetdomainname_args *, register_t *); | |
2771 | 2777 | |||
2772 | int compat_09_netbsd32_uname(struct lwp *, const struct compat_09_netbsd32_uname_args *, register_t *); | 2778 | int compat_09_netbsd32_uname(struct lwp *, const struct compat_09_netbsd32_uname_args *, register_t *); |
--- src/sys/compat/netbsd32/netbsd32_syscalls.c 2015/11/04 17:46:21 1.108.2.2
+++ src/sys/compat/netbsd32/netbsd32_syscalls.c 2015/11/06 09:19:24 1.108.2.3
@@ -1,28 +1,29 @@ | @@ -1,28 +1,29 @@ | |||
1 | /* $NetBSD: netbsd32_syscalls.c,v 1.108.2.2 2015/11/04 17:46:21 riz Exp $ */ | 1 | /* $NetBSD: netbsd32_syscalls.c,v 1.108.2.3 2015/11/06 09:19:24 martin 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.101.2.1 2015/03/07 05:22:01 snj Exp | 7 | * created from NetBSD: syscalls.master,v 1.101.2.3 2015/11/06 09:16:48 martin Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #include <sys/cdefs.h> | 10 | #include <sys/cdefs.h> | |
11 | __KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.108.2.2 2015/11/04 17:46:21 riz Exp $"); | 11 | __KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.108.2.3 2015/11/06 09:19:24 martin 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_netbsd.h" | 15 | #include "opt_compat_netbsd.h" | |
16 | #include "opt_nfsserver.h" | |||
16 | #include "opt_ntp.h" | 17 | #include "opt_ntp.h" | |
17 | #include "opt_sysv.h" | 18 | #include "opt_sysv.h" | |
18 | #include "opt_compat_43.h" | 19 | #include "opt_compat_43.h" | |
19 | #endif | 20 | #endif | |
20 | #include <sys/param.h> | 21 | #include <sys/param.h> | |
21 | #include <sys/systm.h> | 22 | #include <sys/systm.h> | |
22 | #include <sys/signal.h> | 23 | #include <sys/signal.h> | |
23 | #include <sys/mount.h> | 24 | #include <sys/mount.h> | |
24 | #include <sys/syscallargs.h> | 25 | #include <sys/syscallargs.h> | |
25 | #include <compat/netbsd32/netbsd32.h> | 26 | #include <compat/netbsd32/netbsd32.h> | |
26 | #include <compat/netbsd32/netbsd32_syscallargs.h> | 27 | #include <compat/netbsd32/netbsd32_syscallargs.h> | |
27 | #endif /* _KERNEL_OPT */ | 28 | #endif /* _KERNEL_OPT */ | |
28 | 29 | |||
@@ -172,27 +173,31 @@ const char *const netbsd32_syscallnames[ | @@ -172,27 +173,31 @@ const char *const netbsd32_syscallnames[ | |||
172 | /* 142 */ "compat_43_ogethostid", | 173 | /* 142 */ "compat_43_ogethostid", | |
173 | /* 143 */ "compat_43_netbsd32_sethostid", | 174 | /* 143 */ "compat_43_netbsd32_sethostid", | |
174 | /* 144 */ "compat_43_netbsd32_ogetrlimit", | 175 | /* 144 */ "compat_43_netbsd32_ogetrlimit", | |
175 | /* 145 */ "compat_43_netbsd32_osetrlimit", | 176 | /* 145 */ "compat_43_netbsd32_osetrlimit", | |
176 | /* 146 */ "compat_43_netbsd32_killpg", | 177 | /* 146 */ "compat_43_netbsd32_killpg", | |
177 | /* 147 */ "setsid", | 178 | /* 147 */ "setsid", | |
178 | /* 148 */ "compat_50_netbsd32_quotactl", | 179 | /* 148 */ "compat_50_netbsd32_quotactl", | |
179 | /* 149 */ "compat_43_oquota", | 180 | /* 149 */ "compat_43_oquota", | |
180 | /* 150 */ "compat_43_netbsd32_ogetsockname", | 181 | /* 150 */ "compat_43_netbsd32_ogetsockname", | |
181 | /* 151 */ "#151 (unimplemented)", | 182 | /* 151 */ "#151 (unimplemented)", | |
182 | /* 152 */ "#152 (unimplemented)", | 183 | /* 152 */ "#152 (unimplemented)", | |
183 | /* 153 */ "#153 (unimplemented)", | 184 | /* 153 */ "#153 (unimplemented)", | |
184 | /* 154 */ "#154 (unimplemented)", | 185 | /* 154 */ "#154 (unimplemented)", | |
186 | #if defined(NFSSERVER) || !defined(_KERNEL_OPT) | |||
185 | /* 155 */ "netbsd32_nfssvc", | 187 | /* 155 */ "netbsd32_nfssvc", | |
188 | #else | |||
189 | /* 155 */ "#155 (excluded netbsd32_nfssvc)", | |||
190 | #endif | |||
186 | /* 156 */ "compat_43_netbsd32_ogetdirentries", | 191 | /* 156 */ "compat_43_netbsd32_ogetdirentries", | |
187 | /* 157 */ "compat_20_netbsd32_statfs", | 192 | /* 157 */ "compat_20_netbsd32_statfs", | |
188 | /* 158 */ "compat_20_netbsd32_fstatfs", | 193 | /* 158 */ "compat_20_netbsd32_fstatfs", | |
189 | /* 159 */ "#159 (unimplemented)", | 194 | /* 159 */ "#159 (unimplemented)", | |
190 | /* 160 */ "#160 (unimplemented)", | 195 | /* 160 */ "#160 (unimplemented)", | |
191 | /* 161 */ "compat_30_netbsd32_getfh", | 196 | /* 161 */ "compat_30_netbsd32_getfh", | |
192 | /* 162 */ "compat_09_netbsd32_ogetdomainname", | 197 | /* 162 */ "compat_09_netbsd32_ogetdomainname", | |
193 | /* 163 */ "compat_09_netbsd32_osetdomainname", | 198 | /* 163 */ "compat_09_netbsd32_osetdomainname", | |
194 | /* 164 */ "compat_09_netbsd32_uname", | 199 | /* 164 */ "compat_09_netbsd32_uname", | |
195 | /* 165 */ "netbsd32_sysarch", | 200 | /* 165 */ "netbsd32_sysarch", | |
196 | /* 166 */ "#166 (unimplemented)", | 201 | /* 166 */ "#166 (unimplemented)", | |
197 | /* 167 */ "#167 (unimplemented)", | 202 | /* 167 */ "#167 (unimplemented)", | |
198 | /* 168 */ "#168 (unimplemented)", | 203 | /* 168 */ "#168 (unimplemented)", |
--- src/sys/compat/netbsd32/netbsd32_sysent.c 2015/11/04 17:46:21 1.108.2.2
+++ src/sys/compat/netbsd32/netbsd32_sysent.c 2015/11/06 09:19:24 1.108.2.3
@@ -1,27 +1,28 @@ | @@ -1,27 +1,28 @@ | |||
1 | /* $NetBSD: netbsd32_sysent.c,v 1.108.2.2 2015/11/04 17:46:21 riz Exp $ */ | 1 | /* $NetBSD: netbsd32_sysent.c,v 1.108.2.3 2015/11/06 09:19:24 martin 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.101.2.1 2015/03/07 05:22:01 snj Exp | 7 | * created from NetBSD: syscalls.master,v 1.101.2.3 2015/11/06 09:16:48 martin Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #include <sys/cdefs.h> | 10 | #include <sys/cdefs.h> | |
11 | __KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.108.2.2 2015/11/04 17:46:21 riz Exp $"); | 11 | __KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.108.2.3 2015/11/06 09:19:24 martin Exp $"); | |
12 | 12 | |||
13 | #if defined(_KERNEL_OPT) | 13 | #if defined(_KERNEL_OPT) | |
14 | #include "opt_compat_netbsd.h" | 14 | #include "opt_compat_netbsd.h" | |
15 | #include "opt_nfsserver.h" | |||
15 | #include "opt_ntp.h" | 16 | #include "opt_ntp.h" | |
16 | #include "opt_sysv.h" | 17 | #include "opt_sysv.h" | |
17 | #include "opt_compat_43.h" | 18 | #include "opt_compat_43.h" | |
18 | #endif | 19 | #endif | |
19 | #include <sys/param.h> | 20 | #include <sys/param.h> | |
20 | #include <sys/systm.h> | 21 | #include <sys/systm.h> | |
21 | #include <sys/signal.h> | 22 | #include <sys/signal.h> | |
22 | #include <sys/mount.h> | 23 | #include <sys/mount.h> | |
23 | #include <sys/syscallargs.h> | 24 | #include <sys/syscallargs.h> | |
24 | #include <compat/netbsd32/netbsd32.h> | 25 | #include <compat/netbsd32/netbsd32.h> | |
25 | #include <compat/netbsd32/netbsd32_syscallargs.h> | 26 | #include <compat/netbsd32/netbsd32_syscallargs.h> | |
26 | 27 | |||
27 | #ifdef COMPAT_43 | 28 | #ifdef COMPAT_43 | |
@@ -413,28 +414,33 @@ struct sysent netbsd32_sysent[] = { | @@ -413,28 +414,33 @@ struct sysent netbsd32_sysent[] = { | |||
413 | (sy_call_t *)compat_50(netbsd32_quotactl) },/* 148 = compat_50_netbsd32_quotactl */ | 414 | (sy_call_t *)compat_50(netbsd32_quotactl) },/* 148 = compat_50_netbsd32_quotactl */ | |
414 | { 0, 0, 0, | 415 | { 0, 0, 0, | |
415 | (sy_call_t *)compat_43(sys_quota) },/* 149 = compat_43_oquota */ | 416 | (sy_call_t *)compat_43(sys_quota) },/* 149 = compat_43_oquota */ | |
416 | { ns(struct compat_43_netbsd32_ogetsockname_args), 0, | 417 | { ns(struct compat_43_netbsd32_ogetsockname_args), 0, | |
417 | (sy_call_t *)compat_43(netbsd32_ogetsockname) },/* 150 = compat_43_netbsd32_ogetsockname */ | 418 | (sy_call_t *)compat_43(netbsd32_ogetsockname) },/* 150 = compat_43_netbsd32_ogetsockname */ | |
418 | { 0, 0, 0, | 419 | { 0, 0, 0, | |
419 | sys_nosys }, /* 151 = unimplemented */ | 420 | sys_nosys }, /* 151 = unimplemented */ | |
420 | { 0, 0, 0, | 421 | { 0, 0, 0, | |
421 | sys_nosys }, /* 152 = unimplemented */ | 422 | sys_nosys }, /* 152 = unimplemented */ | |
422 | { 0, 0, 0, | 423 | { 0, 0, 0, | |
423 | sys_nosys }, /* 153 = unimplemented */ | 424 | sys_nosys }, /* 153 = unimplemented */ | |
424 | { 0, 0, 0, | 425 | { 0, 0, 0, | |
425 | sys_nosys }, /* 154 = unimplemented */ | 426 | sys_nosys }, /* 154 = unimplemented */ | |
426 | { 0, 0, 0, | 427 | #if defined(NFSSERVER) || !defined(_KERNEL_OPT) | |
428 | { ns(struct netbsd32_nfssvc_args), 0, | |||
427 | (sy_call_t *)netbsd32_nfssvc }, /* 155 = netbsd32_nfssvc */ | 429 | (sy_call_t *)netbsd32_nfssvc }, /* 155 = netbsd32_nfssvc */ | |
430 | #else | |||
431 | { 0, 0, 0, | |||
432 | sys_nosys }, /* 155 = excluded netbsd32_nfssvc */ | |||
433 | #endif | |||
428 | { ns(struct compat_43_netbsd32_ogetdirentries_args), 0, | 434 | { ns(struct compat_43_netbsd32_ogetdirentries_args), 0, | |
429 | (sy_call_t *)compat_43(netbsd32_ogetdirentries) },/* 156 = compat_43_netbsd32_ogetdirentries */ | 435 | (sy_call_t *)compat_43(netbsd32_ogetdirentries) },/* 156 = compat_43_netbsd32_ogetdirentries */ | |
430 | { ns(struct compat_20_netbsd32_statfs_args), 0, | 436 | { ns(struct compat_20_netbsd32_statfs_args), 0, | |
431 | (sy_call_t *)compat_20(netbsd32_statfs) },/* 157 = compat_20_netbsd32_statfs */ | 437 | (sy_call_t *)compat_20(netbsd32_statfs) },/* 157 = compat_20_netbsd32_statfs */ | |
432 | { ns(struct compat_20_netbsd32_fstatfs_args), 0, | 438 | { ns(struct compat_20_netbsd32_fstatfs_args), 0, | |
433 | (sy_call_t *)compat_20(netbsd32_fstatfs) },/* 158 = compat_20_netbsd32_fstatfs */ | 439 | (sy_call_t *)compat_20(netbsd32_fstatfs) },/* 158 = compat_20_netbsd32_fstatfs */ | |
434 | { 0, 0, 0, | 440 | { 0, 0, 0, | |
435 | sys_nosys }, /* 159 = unimplemented */ | 441 | sys_nosys }, /* 159 = unimplemented */ | |
436 | { 0, 0, 0, | 442 | { 0, 0, 0, | |
437 | sys_nosys }, /* 160 = unimplemented */ | 443 | sys_nosys }, /* 160 = unimplemented */ | |
438 | { ns(struct compat_30_netbsd32_getfh_args), 0, | 444 | { ns(struct compat_30_netbsd32_getfh_args), 0, | |
439 | (sy_call_t *)compat_30(netbsd32_getfh) },/* 161 = compat_30_netbsd32_getfh */ | 445 | (sy_call_t *)compat_30(netbsd32_getfh) },/* 161 = compat_30_netbsd32_getfh */ | |
440 | { ns(struct compat_09_netbsd32_ogetdomainname_args), 0, | 446 | { ns(struct compat_09_netbsd32_ogetdomainname_args), 0, |