Sat Jul 29 12:39:20 2023 UTC ()
COMPAT_NETBSD32: Regen for syscalls.master,v 1.142


(rin)
diff -r1.157 -r1.158 src/sys/compat/netbsd32/netbsd32_syscall.h
diff -r1.156 -r1.157 src/sys/compat/netbsd32/netbsd32_syscallargs.h
diff -r1.156 -r1.157 src/sys/compat/netbsd32/netbsd32_syscalls.c
diff -r1.36 -r1.37 src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
diff -r1.155 -r1.156 src/sys/compat/netbsd32/netbsd32_sysent.c
diff -r1.49 -r1.50 src/sys/compat/netbsd32/netbsd32_systrace_args.c

cvs diff -r1.157 -r1.158 src/sys/compat/netbsd32/netbsd32_syscall.h (expand / switch to unified diff)

--- src/sys/compat/netbsd32/netbsd32_syscall.h 2021/09/20 01:07:56 1.157
+++ src/sys/compat/netbsd32/netbsd32_syscall.h 2023/07/29 12:39:20 1.158
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1/* $NetBSD: netbsd32_syscall.h,v 1.157 2021/09/20 01:07:56 thorpej Exp $ */ 1/* $NetBSD: netbsd32_syscall.h,v 1.158 2023/07/29 12:39:20 rin 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.141 2021/09/20 01:07:45 thorpej Exp 7 * created from NetBSD: syscalls.master,v 1.142 2023/07/29 12:38:25 rin 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
@@ -907,27 +907,27 @@ @@ -907,27 +907,27 @@
907 /* 335 is obsolete netbsd32_sa_preempt */ 907 /* 335 is obsolete netbsd32_sa_preempt */
908 /* 336 is obsolete sys_sa_unblockyield */ 908 /* 336 is obsolete sys_sa_unblockyield */
909/* syscall: "netbsd32___sigaction_sigtramp" ret: "int" args: "int" "netbsd32_sigactionp_t" "netbsd32_sigactionp_t" "netbsd32_voidp" "int" */ 909/* syscall: "netbsd32___sigaction_sigtramp" ret: "int" args: "int" "netbsd32_sigactionp_t" "netbsd32_sigactionp_t" "netbsd32_voidp" "int" */
910#define NETBSD32_SYS_netbsd32___sigaction_sigtramp 340 910#define NETBSD32_SYS_netbsd32___sigaction_sigtramp 340
911 911
912 /* 341 is obsolete netbsd32_pmc_get_info */ 912 /* 341 is obsolete netbsd32_pmc_get_info */
913 /* 342 is obsolete netbsd32_pmc_control */ 913 /* 342 is obsolete netbsd32_pmc_control */
914/* syscall: "netbsd32_rasctl" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 914/* syscall: "netbsd32_rasctl" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
915#define NETBSD32_SYS_netbsd32_rasctl 343 915#define NETBSD32_SYS_netbsd32_rasctl 343
916 916
917/* syscall: "kqueue" ret: "int" args: */ 917/* syscall: "kqueue" ret: "int" args: */
918#define NETBSD32_SYS_kqueue 344 918#define NETBSD32_SYS_kqueue 344
919 919
920/* syscall: "compat_50_netbsd32_kevent" ret: "int" args: "int" "netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_timespec50p_t" */ 920/* syscall: "compat_50_netbsd32_kevent" ret: "int" args: "int" "netbsd32_kevent100p_t" "netbsd32_size_t" "netbsd32_kevent100p_t" "netbsd32_size_t" "netbsd32_timespec50p_t" */
921#define NETBSD32_SYS_compat_50_netbsd32_kevent 345 921#define NETBSD32_SYS_compat_50_netbsd32_kevent 345
922 922
923/* syscall: "netbsd32__sched_setparam" ret: "int" args: "pid_t" "lwpid_t" "int" "const netbsd32_sched_paramp_t" */ 923/* syscall: "netbsd32__sched_setparam" ret: "int" args: "pid_t" "lwpid_t" "int" "const netbsd32_sched_paramp_t" */
924#define NETBSD32_SYS_netbsd32__sched_setparam 346 924#define NETBSD32_SYS_netbsd32__sched_setparam 346
925 925
926/* syscall: "netbsd32__sched_getparam" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_intp" "netbsd32_sched_paramp_t" */ 926/* syscall: "netbsd32__sched_getparam" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_intp" "netbsd32_sched_paramp_t" */
927#define NETBSD32_SYS_netbsd32__sched_getparam 347 927#define NETBSD32_SYS_netbsd32__sched_getparam 347
928 928
929/* syscall: "netbsd32__sched_setaffinity" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_size_t" "const netbsd32_cpusetp_t" */ 929/* syscall: "netbsd32__sched_setaffinity" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_size_t" "const netbsd32_cpusetp_t" */
930#define NETBSD32_SYS_netbsd32__sched_setaffinity 348 930#define NETBSD32_SYS_netbsd32__sched_setaffinity 348
931 931
932/* syscall: "netbsd32__sched_getaffinity" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_size_t" "netbsd32_cpusetp_t" */ 932/* syscall: "netbsd32__sched_getaffinity" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_size_t" "netbsd32_cpusetp_t" */
933#define NETBSD32_SYS_netbsd32__sched_getaffinity 349 933#define NETBSD32_SYS_netbsd32__sched_getaffinity 349
@@ -1134,28 +1134,28 @@ @@ -1134,28 +1134,28 @@
1134 1134
1135/* syscall: "netbsd32_____sigtimedwait50" ret: "int" args: "const netbsd32_sigsetp_t" "netbsd32_siginfop_t" "netbsd32_timespecp_t" */ 1135/* syscall: "netbsd32_____sigtimedwait50" ret: "int" args: "const netbsd32_sigsetp_t" "netbsd32_siginfop_t" "netbsd32_timespecp_t" */
1136#define NETBSD32_SYS_netbsd32_____sigtimedwait50 431 1136#define NETBSD32_SYS_netbsd32_____sigtimedwait50 431
1137 1137
1138/* syscall: "netbsd32___mq_timedsend50" ret: "int" args: "mqd_t" "const netbsd32_charp" "netbsd32_size_t" "unsigned" "const netbsd32_timespecp_t" */ 1138/* syscall: "netbsd32___mq_timedsend50" ret: "int" args: "mqd_t" "const netbsd32_charp" "netbsd32_size_t" "unsigned" "const netbsd32_timespecp_t" */
1139#define NETBSD32_SYS_netbsd32___mq_timedsend50 432 1139#define NETBSD32_SYS_netbsd32___mq_timedsend50 432
1140 1140
1141/* syscall: "netbsd32___mq_timedreceive50" ret: "netbsd32_ssize_t" args: "mqd_t" "netbsd32_charp" "netbsd32_size_t" "netbsd32_uintp" "const netbsd32_timespecp_t" */ 1141/* syscall: "netbsd32___mq_timedreceive50" ret: "netbsd32_ssize_t" args: "mqd_t" "netbsd32_charp" "netbsd32_size_t" "netbsd32_uintp" "const netbsd32_timespecp_t" */
1142#define NETBSD32_SYS_netbsd32___mq_timedreceive50 433 1142#define NETBSD32_SYS_netbsd32___mq_timedreceive50 433
1143 1143
1144/* syscall: "compat_60_netbsd32__lwp_park" ret: "int" args: "const netbsd32_timespecp_t" "lwpid_t" "const netbsd32_voidp" "const netbsd32_voidp" */ 1144/* syscall: "compat_60_netbsd32__lwp_park" ret: "int" args: "const netbsd32_timespecp_t" "lwpid_t" "const netbsd32_voidp" "const netbsd32_voidp" */
1145#define NETBSD32_SYS_compat_60_netbsd32__lwp_park 434 1145#define NETBSD32_SYS_compat_60_netbsd32__lwp_park 434
1146 1146
1147/* syscall: "netbsd32___kevent50" ret: "int" args: "int" "const netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_keventp_t" "netbsd32_size_t" "const netbsd32_timespecp_t" */ 1147/* syscall: "compat_100_netbsd32___kevent50" ret: "int" args: "int" "const netbsd32_kevent100p_t" "netbsd32_size_t" "netbsd32_kevent100p_t" "netbsd32_size_t" "const netbsd32_timespecp_t" */
1148#define NETBSD32_SYS_netbsd32___kevent50 435 1148#define NETBSD32_SYS_compat_100_netbsd32___kevent50 435
1149 1149
1150/* syscall: "netbsd32___pselect50" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */ 1150/* syscall: "netbsd32___pselect50" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */
1151#define NETBSD32_SYS_netbsd32___pselect50 436 1151#define NETBSD32_SYS_netbsd32___pselect50 436
1152 1152
1153/* syscall: "netbsd32___pollts50" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */ 1153/* syscall: "netbsd32___pollts50" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */
1154#define NETBSD32_SYS_netbsd32___pollts50 437 1154#define NETBSD32_SYS_netbsd32___pollts50 437
1155 1155
1156/* syscall: "netbsd32___stat50" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */ 1156/* syscall: "netbsd32___stat50" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */
1157#define NETBSD32_SYS_netbsd32___stat50 439 1157#define NETBSD32_SYS_netbsd32___stat50 439
1158 1158
1159/* syscall: "netbsd32___fstat50" ret: "int" args: "int" "netbsd32_statp_t" */ 1159/* syscall: "netbsd32___fstat50" ret: "int" args: "int" "netbsd32_statp_t" */
1160#define NETBSD32_SYS_netbsd32___fstat50 440 1160#define NETBSD32_SYS_netbsd32___fstat50 440
1161 1161
@@ -1328,16 +1328,19 @@ @@ -1328,16 +1328,19 @@
1328 1328
1329/* syscall: "netbsd32___acl_delete_fd" ret: "int" args: "int" "acl_type_t" */ 1329/* syscall: "netbsd32___acl_delete_fd" ret: "int" args: "int" "acl_type_t" */
1330#define NETBSD32_SYS_netbsd32___acl_delete_fd 496 1330#define NETBSD32_SYS_netbsd32___acl_delete_fd 496
1331 1331
1332/* syscall: "netbsd32___acl_aclcheck_file" ret: "int" args: "const netbsd32_charp" "acl_type_t" "netbsd32_aclp_t" */ 1332/* syscall: "netbsd32___acl_aclcheck_file" ret: "int" args: "const netbsd32_charp" "acl_type_t" "netbsd32_aclp_t" */
1333#define NETBSD32_SYS_netbsd32___acl_aclcheck_file 497 1333#define NETBSD32_SYS_netbsd32___acl_aclcheck_file 497
1334 1334
1335/* syscall: "netbsd32___acl_aclcheck_fd" ret: "int" args: "int" "acl_type_t" "netbsd32_aclp_t" */ 1335/* syscall: "netbsd32___acl_aclcheck_fd" ret: "int" args: "int" "acl_type_t" "netbsd32_aclp_t" */
1336#define NETBSD32_SYS_netbsd32___acl_aclcheck_fd 498 1336#define NETBSD32_SYS_netbsd32___acl_aclcheck_fd 498
1337 1337
1338/* syscall: "netbsd32_lpathconf" ret: "long" args: "const netbsd32_charp" "int" */ 1338/* syscall: "netbsd32_lpathconf" ret: "long" args: "const netbsd32_charp" "int" */
1339#define NETBSD32_SYS_netbsd32_lpathconf 499 1339#define NETBSD32_SYS_netbsd32_lpathconf 499
1340 1340
1341#define NETBSD32_SYS_MAXSYSCALL 500 1341/* syscall: "netbsd32___kevent100" ret: "int" args: "int" "const netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_keventp_t" "netbsd32_size_t" "const netbsd32_timespecp_t" */
 1342#define NETBSD32_SYS_netbsd32___kevent100 501
 1343
 1344#define NETBSD32_SYS_MAXSYSCALL 505
1342#define NETBSD32_SYS_NSYSENT 512 1345#define NETBSD32_SYS_NSYSENT 512
1343#endif /* _NETBSD32_SYS_SYSCALL_H_ */ 1346#endif /* _NETBSD32_SYS_SYSCALL_H_ */

cvs diff -r1.156 -r1.157 src/sys/compat/netbsd32/netbsd32_syscallargs.h (expand / switch to unified diff)

--- src/sys/compat/netbsd32/netbsd32_syscallargs.h 2021/09/20 01:07:56 1.156
+++ src/sys/compat/netbsd32/netbsd32_syscallargs.h 2023/07/29 12:39:20 1.157
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1/* $NetBSD: netbsd32_syscallargs.h,v 1.156 2021/09/20 01:07:56 thorpej Exp $ */ 1/* $NetBSD: netbsd32_syscallargs.h,v 1.157 2023/07/29 12:39:20 rin 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.141 2021/09/20 01:07:45 thorpej Exp 7 * created from NetBSD: syscalls.master,v 1.142 2023/07/29 12:38:25 rin 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/* Forward declaration */ 13/* Forward declaration */
14struct lwp; 14struct lwp;
15 15
16#define NETBSD32_SYS_MAXSYSARGS 8 16#define NETBSD32_SYS_MAXSYSARGS 8
17 17
18#undef syscallarg 18#undef syscallarg
19#define syscallarg(x) \ 19#define syscallarg(x) \
20 union { \ 20 union { \
@@ -1767,29 +1767,29 @@ struct netbsd32___sigaction_sigtramp_arg @@ -1767,29 +1767,29 @@ struct netbsd32___sigaction_sigtramp_arg
1767 syscallarg(int) vers; 1767 syscallarg(int) vers;
1768}; 1768};
1769check_syscall_args(netbsd32___sigaction_sigtramp) 1769check_syscall_args(netbsd32___sigaction_sigtramp)
1770 1770
1771struct netbsd32_rasctl_args { 1771struct netbsd32_rasctl_args {
1772 syscallarg(netbsd32_voidp) addr; 1772 syscallarg(netbsd32_voidp) addr;
1773 syscallarg(netbsd32_size_t) len; 1773 syscallarg(netbsd32_size_t) len;
1774 syscallarg(int) op; 1774 syscallarg(int) op;
1775}; 1775};
1776check_syscall_args(netbsd32_rasctl) 1776check_syscall_args(netbsd32_rasctl)
1777 1777
1778struct compat_50_netbsd32_kevent_args { 1778struct compat_50_netbsd32_kevent_args {
1779 syscallarg(int) fd; 1779 syscallarg(int) fd;
1780 syscallarg(netbsd32_keventp_t) changelist; 1780 syscallarg(netbsd32_kevent100p_t) changelist;
1781 syscallarg(netbsd32_size_t) nchanges; 1781 syscallarg(netbsd32_size_t) nchanges;
1782 syscallarg(netbsd32_keventp_t) eventlist; 1782 syscallarg(netbsd32_kevent100p_t) eventlist;
1783 syscallarg(netbsd32_size_t) nevents; 1783 syscallarg(netbsd32_size_t) nevents;
1784 syscallarg(netbsd32_timespec50p_t) timeout; 1784 syscallarg(netbsd32_timespec50p_t) timeout;
1785}; 1785};
1786check_syscall_args(compat_50_netbsd32_kevent) 1786check_syscall_args(compat_50_netbsd32_kevent)
1787 1787
1788struct netbsd32__sched_setparam_args { 1788struct netbsd32__sched_setparam_args {
1789 syscallarg(pid_t) pid; 1789 syscallarg(pid_t) pid;
1790 syscallarg(lwpid_t) lid; 1790 syscallarg(lwpid_t) lid;
1791 syscallarg(int) policy; 1791 syscallarg(int) policy;
1792 syscallarg(const netbsd32_sched_paramp_t) params; 1792 syscallarg(const netbsd32_sched_paramp_t) params;
1793}; 1793};
1794check_syscall_args(netbsd32__sched_setparam) 1794check_syscall_args(netbsd32__sched_setparam)
1795 1795
@@ -2310,35 +2310,35 @@ struct netbsd32___mq_timedreceive50_args @@ -2310,35 +2310,35 @@ struct netbsd32___mq_timedreceive50_args
2310 syscallarg(netbsd32_uintp) msg_prio; 2310 syscallarg(netbsd32_uintp) msg_prio;
2311 syscallarg(const netbsd32_timespecp_t) abs_timeout; 2311 syscallarg(const netbsd32_timespecp_t) abs_timeout;
2312}; 2312};
2313check_syscall_args(netbsd32___mq_timedreceive50) 2313check_syscall_args(netbsd32___mq_timedreceive50)
2314 2314
2315struct compat_60_netbsd32__lwp_park_args { 2315struct compat_60_netbsd32__lwp_park_args {
2316 syscallarg(const netbsd32_timespecp_t) ts; 2316 syscallarg(const netbsd32_timespecp_t) ts;
2317 syscallarg(lwpid_t) unpark; 2317 syscallarg(lwpid_t) unpark;
2318 syscallarg(const netbsd32_voidp) hint; 2318 syscallarg(const netbsd32_voidp) hint;
2319 syscallarg(const netbsd32_voidp) unparkhint; 2319 syscallarg(const netbsd32_voidp) unparkhint;
2320}; 2320};
2321check_syscall_args(compat_60_netbsd32__lwp_park) 2321check_syscall_args(compat_60_netbsd32__lwp_park)
2322 2322
2323struct netbsd32___kevent50_args { 2323struct compat_100_netbsd32___kevent50_args {
2324 syscallarg(int) fd; 2324 syscallarg(int) fd;
2325 syscallarg(const netbsd32_keventp_t) changelist; 2325 syscallarg(const netbsd32_kevent100p_t) changelist;
2326 syscallarg(netbsd32_size_t) nchanges; 2326 syscallarg(netbsd32_size_t) nchanges;
2327 syscallarg(netbsd32_keventp_t) eventlist; 2327 syscallarg(netbsd32_kevent100p_t) eventlist;
2328 syscallarg(netbsd32_size_t) nevents; 2328 syscallarg(netbsd32_size_t) nevents;
2329 syscallarg(const netbsd32_timespecp_t) timeout; 2329 syscallarg(const netbsd32_timespecp_t) timeout;
2330}; 2330};
2331check_syscall_args(netbsd32___kevent50) 2331check_syscall_args(compat_100_netbsd32___kevent50)
2332 2332
2333struct netbsd32___pselect50_args { 2333struct netbsd32___pselect50_args {
2334 syscallarg(int) nd; 2334 syscallarg(int) nd;
2335 syscallarg(netbsd32_fd_setp_t) in; 2335 syscallarg(netbsd32_fd_setp_t) in;
2336 syscallarg(netbsd32_fd_setp_t) ou; 2336 syscallarg(netbsd32_fd_setp_t) ou;
2337 syscallarg(netbsd32_fd_setp_t) ex; 2337 syscallarg(netbsd32_fd_setp_t) ex;
2338 syscallarg(const netbsd32_timespecp_t) ts; 2338 syscallarg(const netbsd32_timespecp_t) ts;
2339 syscallarg(const netbsd32_sigsetp_t) mask; 2339 syscallarg(const netbsd32_sigsetp_t) mask;
2340}; 2340};
2341check_syscall_args(netbsd32___pselect50) 2341check_syscall_args(netbsd32___pselect50)
2342 2342
2343struct netbsd32___pollts50_args { 2343struct netbsd32___pollts50_args {
2344 syscallarg(netbsd32_pollfdp_t) fds; 2344 syscallarg(netbsd32_pollfdp_t) fds;
@@ -2779,26 +2779,36 @@ check_syscall_args(netbsd32___acl_aclche @@ -2779,26 +2779,36 @@ check_syscall_args(netbsd32___acl_aclche
2779struct netbsd32___acl_aclcheck_fd_args { 2779struct netbsd32___acl_aclcheck_fd_args {
2780 syscallarg(int) filedes; 2780 syscallarg(int) filedes;
2781 syscallarg(acl_type_t) type; 2781 syscallarg(acl_type_t) type;
2782 syscallarg(netbsd32_aclp_t) aclp; 2782 syscallarg(netbsd32_aclp_t) aclp;
2783}; 2783};
2784check_syscall_args(netbsd32___acl_aclcheck_fd) 2784check_syscall_args(netbsd32___acl_aclcheck_fd)
2785 2785
2786struct netbsd32_lpathconf_args { 2786struct netbsd32_lpathconf_args {
2787 syscallarg(const netbsd32_charp) path; 2787 syscallarg(const netbsd32_charp) path;
2788 syscallarg(int) name; 2788 syscallarg(int) name;
2789}; 2789};
2790check_syscall_args(netbsd32_lpathconf) 2790check_syscall_args(netbsd32_lpathconf)
2791 2791
 2792struct netbsd32___kevent100_args {
 2793 syscallarg(int) fd;
 2794 syscallarg(const netbsd32_keventp_t) changelist;
 2795 syscallarg(netbsd32_size_t) nchanges;
 2796 syscallarg(netbsd32_keventp_t) eventlist;
 2797 syscallarg(netbsd32_size_t) nevents;
 2798 syscallarg(const netbsd32_timespecp_t) timeout;
 2799};
 2800check_syscall_args(netbsd32___kevent100)
 2801
2792/* 2802/*
2793 * System call prototypes. 2803 * System call prototypes.
2794 */ 2804 */
2795 2805
2796int netbsd32_syscall(struct lwp *, const struct netbsd32_syscall_args *, register_t *); 2806int netbsd32_syscall(struct lwp *, const struct netbsd32_syscall_args *, register_t *);
2797 2807
2798int netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *); 2808int netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *);
2799 2809
2800int sys_fork(struct lwp *, const void *, register_t *); 2810int sys_fork(struct lwp *, const void *, register_t *);
2801 2811
2802int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *); 2812int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
2803 2813
2804int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *); 2814int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
@@ -3520,27 +3530,27 @@ int netbsd32___clock_settime50(struct lw @@ -3520,27 +3530,27 @@ int netbsd32___clock_settime50(struct lw
3520 3530
3521int netbsd32___clock_getres50(struct lwp *, const struct netbsd32___clock_getres50_args *, register_t *); 3531int netbsd32___clock_getres50(struct lwp *, const struct netbsd32___clock_getres50_args *, register_t *);
3522 3532
3523int netbsd32___nanosleep50(struct lwp *, const struct netbsd32___nanosleep50_args *, register_t *); 3533int netbsd32___nanosleep50(struct lwp *, const struct netbsd32___nanosleep50_args *, register_t *);
3524 3534
3525int netbsd32_____sigtimedwait50(struct lwp *, const struct netbsd32_____sigtimedwait50_args *, register_t *); 3535int netbsd32_____sigtimedwait50(struct lwp *, const struct netbsd32_____sigtimedwait50_args *, register_t *);
3526 3536
3527int netbsd32___mq_timedsend50(struct lwp *, const struct netbsd32___mq_timedsend50_args *, register_t *); 3537int netbsd32___mq_timedsend50(struct lwp *, const struct netbsd32___mq_timedsend50_args *, register_t *);
3528 3538
3529int netbsd32___mq_timedreceive50(struct lwp *, const struct netbsd32___mq_timedreceive50_args *, register_t *); 3539int netbsd32___mq_timedreceive50(struct lwp *, const struct netbsd32___mq_timedreceive50_args *, register_t *);
3530 3540
3531int compat_60_netbsd32__lwp_park(struct lwp *, const struct compat_60_netbsd32__lwp_park_args *, register_t *); 3541int compat_60_netbsd32__lwp_park(struct lwp *, const struct compat_60_netbsd32__lwp_park_args *, register_t *);
3532 3542
3533int netbsd32___kevent50(struct lwp *, const struct netbsd32___kevent50_args *, register_t *); 3543int compat_100_netbsd32___kevent50(struct lwp *, const struct compat_100_netbsd32___kevent50_args *, register_t *);
3534 3544
3535int netbsd32___pselect50(struct lwp *, const struct netbsd32___pselect50_args *, register_t *); 3545int netbsd32___pselect50(struct lwp *, const struct netbsd32___pselect50_args *, register_t *);
3536 3546
3537int netbsd32___pollts50(struct lwp *, const struct netbsd32___pollts50_args *, register_t *); 3547int netbsd32___pollts50(struct lwp *, const struct netbsd32___pollts50_args *, register_t *);
3538 3548
3539int netbsd32___stat50(struct lwp *, const struct netbsd32___stat50_args *, register_t *); 3549int netbsd32___stat50(struct lwp *, const struct netbsd32___stat50_args *, register_t *);
3540 3550
3541int netbsd32___fstat50(struct lwp *, const struct netbsd32___fstat50_args *, register_t *); 3551int netbsd32___fstat50(struct lwp *, const struct netbsd32___fstat50_args *, register_t *);
3542 3552
3543int netbsd32___lstat50(struct lwp *, const struct netbsd32___lstat50_args *, register_t *); 3553int netbsd32___lstat50(struct lwp *, const struct netbsd32___lstat50_args *, register_t *);
3544 3554
3545int netbsd32_____semctl50(struct lwp *, const struct netbsd32_____semctl50_args *, register_t *); 3555int netbsd32_____semctl50(struct lwp *, const struct netbsd32_____semctl50_args *, register_t *);
3546 3556
@@ -3649,14 +3659,16 @@ int netbsd32___acl_get_fd(struct lwp *,  @@ -3649,14 +3659,16 @@ int netbsd32___acl_get_fd(struct lwp *,
3649 3659
3650int netbsd32___acl_set_fd(struct lwp *, const struct netbsd32___acl_set_fd_args *, register_t *); 3660int netbsd32___acl_set_fd(struct lwp *, const struct netbsd32___acl_set_fd_args *, register_t *);
3651 3661
3652int netbsd32___acl_delete_file(struct lwp *, const struct netbsd32___acl_delete_file_args *, register_t *); 3662int netbsd32___acl_delete_file(struct lwp *, const struct netbsd32___acl_delete_file_args *, register_t *);
3653 3663
3654int netbsd32___acl_delete_fd(struct lwp *, const struct netbsd32___acl_delete_fd_args *, register_t *); 3664int netbsd32___acl_delete_fd(struct lwp *, const struct netbsd32___acl_delete_fd_args *, register_t *);
3655 3665
3656int netbsd32___acl_aclcheck_file(struct lwp *, const struct netbsd32___acl_aclcheck_file_args *, register_t *); 3666int netbsd32___acl_aclcheck_file(struct lwp *, const struct netbsd32___acl_aclcheck_file_args *, register_t *);
3657 3667
3658int netbsd32___acl_aclcheck_fd(struct lwp *, const struct netbsd32___acl_aclcheck_fd_args *, register_t *); 3668int netbsd32___acl_aclcheck_fd(struct lwp *, const struct netbsd32___acl_aclcheck_fd_args *, register_t *);
3659 3669
3660int netbsd32_lpathconf(struct lwp *, const struct netbsd32_lpathconf_args *, register_t *); 3670int netbsd32_lpathconf(struct lwp *, const struct netbsd32_lpathconf_args *, register_t *);
3661 3671
 3672int netbsd32___kevent100(struct lwp *, const struct netbsd32___kevent100_args *, register_t *);
 3673
3662#endif /* _NETBSD32_SYS_SYSCALLARGS_H_ */ 3674#endif /* _NETBSD32_SYS_SYSCALLARGS_H_ */

cvs diff -r1.156 -r1.157 src/sys/compat/netbsd32/netbsd32_syscalls.c (expand / switch to unified diff)

--- src/sys/compat/netbsd32/netbsd32_syscalls.c 2021/09/20 01:07:56 1.156
+++ src/sys/compat/netbsd32/netbsd32_syscalls.c 2023/07/29 12:39:20 1.157
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1/* $NetBSD: netbsd32_syscalls.c,v 1.156 2021/09/20 01:07:56 thorpej Exp $ */ 1/* $NetBSD: netbsd32_syscalls.c,v 1.157 2023/07/29 12:39:20 rin 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.141 2021/09/20 01:07:45 thorpej Exp 7 * created from NetBSD: syscalls.master,v 1.142 2023/07/29 12:38:25 rin 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.156 2021/09/20 01:07:56 thorpej Exp $"); 11__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.157 2023/07/29 12:39:20 rin 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_ntp.h" 16#include "opt_ntp.h"
17#include "opt_compat_43.h" 17#include "opt_compat_43.h"
18#include "opt_quota.h" 18#include "opt_quota.h"
19#endif 19#endif
20#include <sys/param.h> 20#include <sys/param.h>
21#include <sys/systm.h> 21#include <sys/systm.h>
22#include <sys/signal.h> 22#include <sys/signal.h>
23#include <sys/mount.h> 23#include <sys/mount.h>
24#include <sys/syscallargs.h> 24#include <sys/syscallargs.h>
@@ -459,27 +459,27 @@ const char *const netbsd32_syscallnames[ @@ -459,27 +459,27 @@ const char *const netbsd32_syscallnames[
459 /* 422 */ "#422 (excluded __lfs_segwait50)", 459 /* 422 */ "#422 (excluded __lfs_segwait50)",
460 /* 423 */ "netbsd32___futimes50", 460 /* 423 */ "netbsd32___futimes50",
461 /* 424 */ "netbsd32___lutimes50", 461 /* 424 */ "netbsd32___lutimes50",
462 /* 425 */ "netbsd32___setitimer50", 462 /* 425 */ "netbsd32___setitimer50",
463 /* 426 */ "netbsd32___getitimer50", 463 /* 426 */ "netbsd32___getitimer50",
464 /* 427 */ "netbsd32___clock_gettime50", 464 /* 427 */ "netbsd32___clock_gettime50",
465 /* 428 */ "netbsd32___clock_settime50", 465 /* 428 */ "netbsd32___clock_settime50",
466 /* 429 */ "netbsd32___clock_getres50", 466 /* 429 */ "netbsd32___clock_getres50",
467 /* 430 */ "netbsd32___nanosleep50", 467 /* 430 */ "netbsd32___nanosleep50",
468 /* 431 */ "netbsd32_____sigtimedwait50", 468 /* 431 */ "netbsd32_____sigtimedwait50",
469 /* 432 */ "netbsd32___mq_timedsend50", 469 /* 432 */ "netbsd32___mq_timedsend50",
470 /* 433 */ "netbsd32___mq_timedreceive50", 470 /* 433 */ "netbsd32___mq_timedreceive50",
471 /* 434 */ "compat_60_netbsd32__lwp_park", 471 /* 434 */ "compat_60_netbsd32__lwp_park",
472 /* 435 */ "netbsd32___kevent50", 472 /* 435 */ "compat_100_netbsd32___kevent50",
473 /* 436 */ "netbsd32___pselect50", 473 /* 436 */ "netbsd32___pselect50",
474 /* 437 */ "netbsd32___pollts50", 474 /* 437 */ "netbsd32___pollts50",
475 /* 438 */ "#438 (unimplemented netbsd32___aio_suspend50)", 475 /* 438 */ "#438 (unimplemented netbsd32___aio_suspend50)",
476 /* 439 */ "netbsd32___stat50", 476 /* 439 */ "netbsd32___stat50",
477 /* 440 */ "netbsd32___fstat50", 477 /* 440 */ "netbsd32___fstat50",
478 /* 441 */ "netbsd32___lstat50", 478 /* 441 */ "netbsd32___lstat50",
479 /* 442 */ "netbsd32_____semctl50", 479 /* 442 */ "netbsd32_____semctl50",
480 /* 443 */ "netbsd32___shmctl50", 480 /* 443 */ "netbsd32___shmctl50",
481 /* 444 */ "netbsd32___msgctl50", 481 /* 444 */ "netbsd32___msgctl50",
482 /* 445 */ "netbsd32___getrusage50", 482 /* 445 */ "netbsd32___getrusage50",
483 /* 446 */ "netbsd32___timer_settime50", 483 /* 446 */ "netbsd32___timer_settime50",
484 /* 447 */ "netbsd32___timer_gettime50", 484 /* 447 */ "netbsd32___timer_gettime50",
485#if defined(NTP) || !defined(_KERNEL_OPT) 485#if defined(NTP) || !defined(_KERNEL_OPT)
@@ -528,31 +528,31 @@ const char *const netbsd32_syscallnames[ @@ -528,31 +528,31 @@ const char *const netbsd32_syscallnames[
528 /* 487 */ "netbsd32___acl_get_link", 528 /* 487 */ "netbsd32___acl_get_link",
529 /* 488 */ "netbsd32___acl_set_link", 529 /* 488 */ "netbsd32___acl_set_link",
530 /* 489 */ "netbsd32___acl_delete_link", 530 /* 489 */ "netbsd32___acl_delete_link",
531 /* 490 */ "netbsd32___acl_aclcheck_link", 531 /* 490 */ "netbsd32___acl_aclcheck_link",
532 /* 491 */ "netbsd32___acl_get_file", 532 /* 491 */ "netbsd32___acl_get_file",
533 /* 492 */ "netbsd32___acl_set_file", 533 /* 492 */ "netbsd32___acl_set_file",
534 /* 493 */ "netbsd32___acl_get_fd", 534 /* 493 */ "netbsd32___acl_get_fd",
535 /* 494 */ "netbsd32___acl_set_fd", 535 /* 494 */ "netbsd32___acl_set_fd",
536 /* 495 */ "netbsd32___acl_delete_file", 536 /* 495 */ "netbsd32___acl_delete_file",
537 /* 496 */ "netbsd32___acl_delete_fd", 537 /* 496 */ "netbsd32___acl_delete_fd",
538 /* 497 */ "netbsd32___acl_aclcheck_file", 538 /* 497 */ "netbsd32___acl_aclcheck_file",
539 /* 498 */ "netbsd32___acl_aclcheck_fd", 539 /* 498 */ "netbsd32___acl_aclcheck_fd",
540 /* 499 */ "netbsd32_lpathconf", 540 /* 499 */ "netbsd32_lpathconf",
541 /* 500 */ "# filler", 541 /* 500 */ "#500 (unimplemented memfd_create)",
542 /* 501 */ "# filler", 542 /* 501 */ "netbsd32___kevent100",
543 /* 502 */ "# filler", 543 /* 502 */ "#502 (unimplemented epoll_create1)",
544 /* 503 */ "# filler", 544 /* 503 */ "#503 (unimplemented epoll_ctl)",
545 /* 504 */ "# filler", 545 /* 504 */ "#504 (unimplemented epoll_pwait2)",
546 /* 505 */ "# filler", 546 /* 505 */ "# filler",
547 /* 506 */ "# filler", 547 /* 506 */ "# filler",
548 /* 507 */ "# filler", 548 /* 507 */ "# filler",
549 /* 508 */ "# filler", 549 /* 508 */ "# filler",
550 /* 509 */ "# filler", 550 /* 509 */ "# filler",
551 /* 510 */ "# filler", 551 /* 510 */ "# filler",
552 /* 511 */ "# filler", 552 /* 511 */ "# filler",
553}; 553};
554 554
555 555
556/* libc style syscall names */ 556/* libc style syscall names */
557const char *const altnetbsd32_syscallnames[] = { 557const char *const altnetbsd32_syscallnames[] = {
558 /* 0 */ "syscall", 558 /* 0 */ "syscall",
@@ -984,27 +984,27 @@ const char *const altnetbsd32_syscallnam @@ -984,27 +984,27 @@ const char *const altnetbsd32_syscallnam
984 /* 422 */ NULL, /* excluded __lfs_segwait50 */ 984 /* 422 */ NULL, /* excluded __lfs_segwait50 */
985 /* 423 */ "futimes", 985 /* 423 */ "futimes",
986 /* 424 */ "lutimes", 986 /* 424 */ "lutimes",
987 /* 425 */ "setitimer", 987 /* 425 */ "setitimer",
988 /* 426 */ "getitimer", 988 /* 426 */ "getitimer",
989 /* 427 */ "clock_gettime", 989 /* 427 */ "clock_gettime",
990 /* 428 */ "clock_settime", 990 /* 428 */ "clock_settime",
991 /* 429 */ "clock_getres", 991 /* 429 */ "clock_getres",
992 /* 430 */ "nanosleep", 992 /* 430 */ "nanosleep",
993 /* 431 */ "__sigtimedwait", 993 /* 431 */ "__sigtimedwait",
994 /* 432 */ "mq_timedsend", 994 /* 432 */ "mq_timedsend",
995 /* 433 */ "mq_timedreceive", 995 /* 433 */ "mq_timedreceive",
996 /* 434 */ NULL, /* compat_60_netbsd32__lwp_park */ 996 /* 434 */ NULL, /* compat_60_netbsd32__lwp_park */
997 /* 435 */ "kevent", 997 /* 435 */ NULL, /* compat_100_netbsd32___kevent50 */
998 /* 436 */ "pselect", 998 /* 436 */ "pselect",
999 /* 437 */ "pollts", 999 /* 437 */ "pollts",
1000 /* 438 */ NULL, /* unimplemented netbsd32___aio_suspend50 */ 1000 /* 438 */ NULL, /* unimplemented netbsd32___aio_suspend50 */
1001 /* 439 */ "stat", 1001 /* 439 */ "stat",
1002 /* 440 */ "fstat", 1002 /* 440 */ "fstat",
1003 /* 441 */ "lstat", 1003 /* 441 */ "lstat",
1004 /* 442 */ "__semctl", 1004 /* 442 */ "__semctl",
1005 /* 443 */ "shmctl", 1005 /* 443 */ "shmctl",
1006 /* 444 */ "msgctl", 1006 /* 444 */ "msgctl",
1007 /* 445 */ "getrusage", 1007 /* 445 */ "getrusage",
1008 /* 446 */ "timer_settime", 1008 /* 446 */ "timer_settime",
1009 /* 447 */ "timer_gettime", 1009 /* 447 */ "timer_gettime",
1010#if defined(NTP) || !defined(_KERNEL_OPT) 1010#if defined(NTP) || !defined(_KERNEL_OPT)
@@ -1053,26 +1053,26 @@ const char *const altnetbsd32_syscallnam @@ -1053,26 +1053,26 @@ const char *const altnetbsd32_syscallnam
1053 /* 487 */ "__acl_get_link", 1053 /* 487 */ "__acl_get_link",
1054 /* 488 */ "__acl_set_link", 1054 /* 488 */ "__acl_set_link",
1055 /* 489 */ "__acl_delete_link", 1055 /* 489 */ "__acl_delete_link",
1056 /* 490 */ "__acl_aclcheck_link", 1056 /* 490 */ "__acl_aclcheck_link",
1057 /* 491 */ "__acl_get_file", 1057 /* 491 */ "__acl_get_file",
1058 /* 492 */ "__acl_set_file", 1058 /* 492 */ "__acl_set_file",
1059 /* 493 */ "__acl_get_fd", 1059 /* 493 */ "__acl_get_fd",
1060 /* 494 */ "__acl_set_fd", 1060 /* 494 */ "__acl_set_fd",
1061 /* 495 */ "__acl_delete_file", 1061 /* 495 */ "__acl_delete_file",
1062 /* 496 */ "__acl_delete_fd", 1062 /* 496 */ "__acl_delete_fd",
1063 /* 497 */ "__acl_aclcheck_file", 1063 /* 497 */ "__acl_aclcheck_file",
1064 /* 498 */ "__acl_aclcheck_fd", 1064 /* 498 */ "__acl_aclcheck_fd",
1065 /* 499 */ "lpathconf", 1065 /* 499 */ "lpathconf",
1066 /* 500 */ NULL, /* filler */ 1066 /* 500 */ NULL, /* unimplemented memfd_create */
1067 /* 501 */ NULL, /* filler */ 1067 /* 501 */ "kevent",
1068 /* 502 */ NULL, /* filler */ 1068 /* 502 */ NULL, /* unimplemented epoll_create1 */
1069 /* 503 */ NULL, /* filler */ 1069 /* 503 */ NULL, /* unimplemented epoll_ctl */
1070 /* 504 */ NULL, /* filler */ 1070 /* 504 */ NULL, /* unimplemented epoll_pwait2 */
1071 /* 505 */ NULL, /* filler */ 1071 /* 505 */ NULL, /* filler */
1072 /* 506 */ NULL, /* filler */ 1072 /* 506 */ NULL, /* filler */
1073 /* 507 */ NULL, /* filler */ 1073 /* 507 */ NULL, /* filler */
1074 /* 508 */ NULL, /* filler */ 1074 /* 508 */ NULL, /* filler */
1075 /* 509 */ NULL, /* filler */ 1075 /* 509 */ NULL, /* filler */
1076 /* 510 */ NULL, /* filler */ 1076 /* 510 */ NULL, /* filler */
1077 /* 511 */ NULL, /* filler */ 1077 /* 511 */ NULL, /* filler */
1078}; 1078};

cvs diff -r1.36 -r1.37 src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c (expand / switch to unified diff)

--- src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c 2021/09/20 01:07:56 1.36
+++ src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c 2023/07/29 12:39:20 1.37
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.36 2021/09/20 01:07:56 thorpej Exp $ */ 1/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.37 2023/07/29 12:39:20 rin Exp $ */
2 2
3/* 3/*
4 * System call autoload table. 4 * System call autoload 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.141 2021/09/20 01:07:45 thorpej Exp 7 * created from NetBSD: syscalls.master,v 1.142 2023/07/29 12:38:25 rin Exp
8 */ 8 */
9 9
10#include <sys/cdefs.h> 10#include <sys/cdefs.h>
11__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.36 2021/09/20 01:07:56 thorpej Exp $"); 11__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.37 2023/07/29 12:39:20 rin 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_ntp.h" 15#include "opt_ntp.h"
16#include "opt_compat_43.h" 16#include "opt_compat_43.h"
17#include "opt_quota.h" 17#include "opt_quota.h"
18#endif 18#endif
19#include <sys/param.h> 19#include <sys/param.h>
20#include <sys/systm.h> 20#include <sys/systm.h>
21#include <sys/signal.h> 21#include <sys/signal.h>
22#include <sys/mount.h> 22#include <sys/mount.h>
23#include <sys/syscallargs.h> 23#include <sys/syscallargs.h>
24#include <compat/netbsd32/netbsd32.h> 24#include <compat/netbsd32/netbsd32.h>
@@ -148,22 +148,23 @@ static struct sc_autoload netbsd32_sysca @@ -148,22 +148,23 @@ static struct sc_autoload netbsd32_sysca
148 { NETBSD32_SYS_compat_30_netbsd32_fhstatvfs1, "compat_netbsd32_30" }, 148 { NETBSD32_SYS_compat_30_netbsd32_fhstatvfs1, "compat_netbsd32_30" },
149 { NETBSD32_SYS_compat_50_netbsd32_pselect, "compat_netbsd32_50" }, 149 { NETBSD32_SYS_compat_50_netbsd32_pselect, "compat_netbsd32_50" },
150 { NETBSD32_SYS_compat_50_netbsd32_pollts, "compat_netbsd32_50" }, 150 { NETBSD32_SYS_compat_50_netbsd32_pollts, "compat_netbsd32_50" },
151 { NETBSD32_SYS_compat_50_netbsd32___stat30, "compat_netbsd32_50" }, 151 { NETBSD32_SYS_compat_50_netbsd32___stat30, "compat_netbsd32_50" },
152 { NETBSD32_SYS_compat_50_netbsd32___fstat30, "compat_netbsd32_50" }, 152 { NETBSD32_SYS_compat_50_netbsd32___fstat30, "compat_netbsd32_50" },
153 { NETBSD32_SYS_compat_50_netbsd32___lstat30, "compat_netbsd32_50" }, 153 { NETBSD32_SYS_compat_50_netbsd32___lstat30, "compat_netbsd32_50" },
154 { NETBSD32_SYS_compat_30_netbsd32___fhstat30, "compat_netbsd32_30" }, 154 { NETBSD32_SYS_compat_30_netbsd32___fhstat30, "compat_netbsd32_30" },
155 { NETBSD32_SYS_compat_50_netbsd32_ntp_gettime, "compat_netbsd32_50" }, 155 { NETBSD32_SYS_compat_50_netbsd32_ntp_gettime, "compat_netbsd32_50" },
156 { NETBSD32_SYS_compat_90_netbsd32_fhstatvfs1, "compat_netbsd90" }, 156 { NETBSD32_SYS_compat_90_netbsd32_fhstatvfs1, "compat_netbsd90" },
157 { NETBSD32_SYS_compat_50_netbsd32___fhstat40, "compat_netbsd32_50" }, 157 { NETBSD32_SYS_compat_50_netbsd32___fhstat40, "compat_netbsd32_50" },
158 { NETBSD32_SYS_netbsd32___mq_timedsend50, "compat_netbsd32_mqueue" }, 158 { NETBSD32_SYS_netbsd32___mq_timedsend50, "compat_netbsd32_mqueue" },
159 { NETBSD32_SYS_netbsd32___mq_timedreceive50, "compat_netbsd32_mqueue" }, 159 { NETBSD32_SYS_netbsd32___mq_timedreceive50, "compat_netbsd32_mqueue" },
160 { NETBSD32_SYS_compat_60_netbsd32__lwp_park, "compat_netbsd32_60" }, 160 { NETBSD32_SYS_compat_60_netbsd32__lwp_park, "compat_netbsd32_60" },
 161 { NETBSD32_SYS_compat_100_netbsd32___kevent50, "compat_netbsd32_100" },
161 { NETBSD32_SYS_netbsd32_____semctl50, "compat_netbsd32_sysvipc" }, 162 { NETBSD32_SYS_netbsd32_____semctl50, "compat_netbsd32_sysvipc" },
162 { NETBSD32_SYS_netbsd32___shmctl50, "compat_netbsd32_sysvipc" }, 163 { NETBSD32_SYS_netbsd32___shmctl50, "compat_netbsd32_sysvipc" },
163 { NETBSD32_SYS_netbsd32___msgctl50, "compat_netbsd32_sysvipc" }, 164 { NETBSD32_SYS_netbsd32___msgctl50, "compat_netbsd32_sysvipc" },
164#if defined(NTP) || !defined(_KERNEL_OPT) 165#if defined(NTP) || !defined(_KERNEL_OPT)
165#else 166#else
166#endif 167#endif
167 { NETBSD32_SYS_netbsd32___quotactl, "compat_netbsd32_quota" }, 168 { NETBSD32_SYS_netbsd32___quotactl, "compat_netbsd32_quota" },
168 { 0, NULL } 169 { 0, NULL }
169}; 170};

cvs diff -r1.155 -r1.156 src/sys/compat/netbsd32/netbsd32_sysent.c (expand / switch to unified diff)

--- src/sys/compat/netbsd32/netbsd32_sysent.c 2021/09/20 01:07:56 1.155
+++ src/sys/compat/netbsd32/netbsd32_sysent.c 2023/07/29 12:39:20 1.156
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1/* $NetBSD: netbsd32_sysent.c,v 1.155 2021/09/20 01:07:56 thorpej Exp $ */ 1/* $NetBSD: netbsd32_sysent.c,v 1.156 2023/07/29 12:39:20 rin 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.141 2021/09/20 01:07:45 thorpej Exp 7 * created from NetBSD: syscalls.master,v 1.142 2023/07/29 12:38:25 rin 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.155 2021/09/20 01:07:56 thorpej Exp $"); 11__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.156 2023/07/29 12:39:20 rin 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_ntp.h" 15#include "opt_ntp.h"
16#include "opt_compat_43.h" 16#include "opt_compat_43.h"
17#include "opt_quota.h" 17#include "opt_quota.h"
18#endif 18#endif
19#include <sys/param.h> 19#include <sys/param.h>
20#include <sys/systm.h> 20#include <sys/systm.h>
21#include <sys/signal.h> 21#include <sys/signal.h>
22#include <sys/mount.h> 22#include <sys/mount.h>
23#include <sys/syscallargs.h> 23#include <sys/syscallargs.h>
24#include <compat/netbsd32/netbsd32.h> 24#include <compat/netbsd32/netbsd32.h>
@@ -117,26 +117,32 @@ __KERNEL_RCSID(0, "$NetBSD: netbsd32_sys @@ -117,26 +117,32 @@ __KERNEL_RCSID(0, "$NetBSD: netbsd32_sys
117 117
118#ifdef COMPAT_80 118#ifdef COMPAT_80
119#define compat_80(func) __CONCAT(compat_80_,func) 119#define compat_80(func) __CONCAT(compat_80_,func)
120#else 120#else
121#define compat_80(func) sys_nosys 121#define compat_80(func) sys_nosys
122#endif 122#endif
123 123
124#ifdef COMPAT_90 124#ifdef COMPAT_90
125#define compat_90(func) __CONCAT(compat_90_,func) 125#define compat_90(func) __CONCAT(compat_90_,func)
126#else 126#else
127#define compat_90(func) sys_nosys 127#define compat_90(func) sys_nosys
128#endif 128#endif
129 129
 130#ifdef COMPAT_100
 131#define compat_100(func) __CONCAT(compat_100_,func)
 132#else
 133#define compat_100(func) sys_nosys
 134#endif
 135
130#define s(type) sizeof(type) 136#define s(type) sizeof(type)
131#define n(type) (sizeof(type)/sizeof (register32_t)) 137#define n(type) (sizeof(type)/sizeof (register32_t))
132#define ns(type) .sy_narg = n(type), .sy_argsize = s(type) 138#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
133 139
134struct sysent netbsd32_sysent[] = { 140struct sysent netbsd32_sysent[] = {
135 { 141 {
136 ns(struct netbsd32_syscall_args), 142 ns(struct netbsd32_syscall_args),
137 .sy_flags = SYCALL_INDIRECT, 143 .sy_flags = SYCALL_INDIRECT,
138 .sy_call = (sy_call_t *)netbsd32_syscall 144 .sy_call = (sy_call_t *)netbsd32_syscall
139 }, /* 0 = netbsd32_syscall */ 145 }, /* 0 = netbsd32_syscall */
140 { 146 {
141 ns(struct netbsd32_exit_args), 147 ns(struct netbsd32_exit_args),
142 .sy_call = (sy_call_t *)netbsd32_exit 148 .sy_call = (sy_call_t *)netbsd32_exit
@@ -1788,29 +1794,29 @@ struct sysent netbsd32_sysent[] = { @@ -1788,29 +1794,29 @@ struct sysent netbsd32_sysent[] = {
1788 { 1794 {
1789 ns(struct netbsd32___mq_timedsend50_args), 1795 ns(struct netbsd32___mq_timedsend50_args),
1790 .sy_call = (sy_call_t *)sys_nomodule 1796 .sy_call = (sy_call_t *)sys_nomodule
1791 }, /* 432 = netbsd32___mq_timedsend50 */ 1797 }, /* 432 = netbsd32___mq_timedsend50 */
1792 { 1798 {
1793 ns(struct netbsd32___mq_timedreceive50_args), 1799 ns(struct netbsd32___mq_timedreceive50_args),
1794 .sy_call = (sy_call_t *)sys_nomodule 1800 .sy_call = (sy_call_t *)sys_nomodule
1795 }, /* 433 = netbsd32___mq_timedreceive50 */ 1801 }, /* 433 = netbsd32___mq_timedreceive50 */
1796 { 1802 {
1797 ns(struct compat_60_netbsd32__lwp_park_args), 1803 ns(struct compat_60_netbsd32__lwp_park_args),
1798 .sy_call = (sy_call_t *)sys_nomodule 1804 .sy_call = (sy_call_t *)sys_nomodule
1799 }, /* 434 = compat_60_netbsd32__lwp_park */ 1805 }, /* 434 = compat_60_netbsd32__lwp_park */
1800 { 1806 {
1801 ns(struct netbsd32___kevent50_args), 1807 ns(struct compat_100_netbsd32___kevent50_args),
1802 .sy_call = (sy_call_t *)netbsd32___kevent50 1808 .sy_call = (sy_call_t *)sys_nomodule
1803 }, /* 435 = netbsd32___kevent50 */ 1809 }, /* 435 = compat_100_netbsd32___kevent50 */
1804 { 1810 {
1805 ns(struct netbsd32___pselect50_args), 1811 ns(struct netbsd32___pselect50_args),
1806 .sy_call = (sy_call_t *)netbsd32___pselect50 1812 .sy_call = (sy_call_t *)netbsd32___pselect50
1807 }, /* 436 = netbsd32___pselect50 */ 1813 }, /* 436 = netbsd32___pselect50 */
1808 { 1814 {
1809 ns(struct netbsd32___pollts50_args), 1815 ns(struct netbsd32___pollts50_args),
1810 .sy_call = (sy_call_t *)netbsd32___pollts50 1816 .sy_call = (sy_call_t *)netbsd32___pollts50
1811 }, /* 437 = netbsd32___pollts50 */ 1817 }, /* 437 = netbsd32___pollts50 */
1812 { 1818 {
1813 .sy_call = sys_nosys, 1819 .sy_call = sys_nosys,
1814 }, /* 438 = filler */ 1820 }, /* 438 = filler */
1815 { 1821 {
1816 ns(struct netbsd32___stat50_args), 1822 ns(struct netbsd32___stat50_args),
@@ -2059,28 +2065,29 @@ struct sysent netbsd32_sysent[] = { @@ -2059,28 +2065,29 @@ struct sysent netbsd32_sysent[] = {
2059 }, /* 497 = netbsd32___acl_aclcheck_file */ 2065 }, /* 497 = netbsd32___acl_aclcheck_file */
2060 { 2066 {
2061 ns(struct netbsd32___acl_aclcheck_fd_args), 2067 ns(struct netbsd32___acl_aclcheck_fd_args),
2062 .sy_call = (sy_call_t *)netbsd32___acl_aclcheck_fd 2068 .sy_call = (sy_call_t *)netbsd32___acl_aclcheck_fd
2063 }, /* 498 = netbsd32___acl_aclcheck_fd */ 2069 }, /* 498 = netbsd32___acl_aclcheck_fd */
2064 { 2070 {
2065 ns(struct netbsd32_lpathconf_args), 2071 ns(struct netbsd32_lpathconf_args),
2066 .sy_call = (sy_call_t *)netbsd32_lpathconf 2072 .sy_call = (sy_call_t *)netbsd32_lpathconf
2067 }, /* 499 = netbsd32_lpathconf */ 2073 }, /* 499 = netbsd32_lpathconf */
2068 { 2074 {
2069 .sy_call = sys_nosys, 2075 .sy_call = sys_nosys,
2070 }, /* 500 = filler */ 2076 }, /* 500 = filler */
2071 { 2077 {
2072 .sy_call = sys_nosys, 2078 ns(struct netbsd32___kevent100_args),
2073 }, /* 501 = filler */ 2079 .sy_call = (sy_call_t *)netbsd32___kevent100
 2080 }, /* 501 = netbsd32___kevent100 */
2074 { 2081 {
2075 .sy_call = sys_nosys, 2082 .sy_call = sys_nosys,
2076 }, /* 502 = filler */ 2083 }, /* 502 = filler */
2077 { 2084 {
2078 .sy_call = sys_nosys, 2085 .sy_call = sys_nosys,
2079 }, /* 503 = filler */ 2086 }, /* 503 = filler */
2080 { 2087 {
2081 .sy_call = sys_nosys, 2088 .sy_call = sys_nosys,
2082 }, /* 504 = filler */ 2089 }, /* 504 = filler */
2083 { 2090 {
2084 .sy_call = sys_nosys, 2091 .sy_call = sys_nosys,
2085 }, /* 505 = filler */ 2092 }, /* 505 = filler */
2086 { 2093 {
@@ -2107,17 +2114,17 @@ const uint32_t netbsd32_sysent_nomodbits @@ -2107,17 +2114,17 @@ const uint32_t netbsd32_sysent_nomodbits
2107 0x042c4180, /* syscalls 0- 31 */ 2114 0x042c4180, /* syscalls 0- 31 */
2108 0xc0b10140, /* syscalls 32- 63 */ 2115 0xc0b10140, /* syscalls 32- 63 */
2109 0x23f80083, /* syscalls 64- 95 */ 2116 0x23f80083, /* syscalls 64- 95 */
2110 0x2437f0ea, /* syscalls 96-127 */ 2117 0x2437f0ea, /* syscalls 96-127 */
2111 0x7857f406, /* syscalls 128-159 */ 2118 0x7857f406, /* syscalls 128-159 */
2112 0x70008e1e, /* syscalls 160-191 */ 2119 0x70008e1e, /* syscalls 160-191 */
2113 0xf0004010, /* syscalls 192-223 */ 2120 0xf0004010, /* syscalls 192-223 */
2114 0x001167ff, /* syscalls 224-255 */ 2121 0x001167ff, /* syscalls 224-255 */
2115 0x01d107fe, /* syscalls 256-287 */ 2122 0x01d107fe, /* syscalls 256-287 */
2116 0x0000fc80, /* syscalls 288-319 */ 2123 0x0000fc80, /* syscalls 288-319 */
2117 0x02000001, /* syscalls 320-351 */ 2124 0x02000001, /* syscalls 320-351 */
2118 0x006000f0, /* syscalls 352-383 */ 2125 0x006000f0, /* syscalls 352-383 */
2119 0x00006338, /* syscalls 384-415 */ 2126 0x00006338, /* syscalls 384-415 */
2120 0x1c070000, /* syscalls 416-447 */ 2127 0x1c0f0000, /* syscalls 416-447 */
2121 0x02000000, /* syscalls 448-479 */ 2128 0x02000000, /* syscalls 448-479 */
2122 0x00000000, /* syscalls 480-511 */ 2129 0x00000000, /* syscalls 480-511 */
2123}; 2130};

cvs diff -r1.49 -r1.50 src/sys/compat/netbsd32/netbsd32_systrace_args.c (expand / switch to unified diff)

--- src/sys/compat/netbsd32/netbsd32_systrace_args.c 2021/09/20 01:07:56 1.49
+++ src/sys/compat/netbsd32/netbsd32_systrace_args.c 2023/07/29 12:39:20 1.50
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: netbsd32_systrace_args.c,v 1.49 2021/09/20 01:07:56 thorpej Exp $ */ 1/* $NetBSD: netbsd32_systrace_args.c,v 1.50 2023/07/29 12:39:20 rin Exp $ */
2 2
3/* 3/*
4 * System call argument to DTrace register array conversion. 4 * System call argument to DTrace register array conversion.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * This file is part of the DTrace syscall provider. 7 * This file is part of the DTrace syscall provider.
8 */ 8 */
9 9
10static void 10static void
11systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args) 11systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args)
12{ 12{
13 intptr_t *iarg = (intptr_t *)uarg; 13 intptr_t *iarg = (intptr_t *)uarg;
14 switch (sysnum) { 14 switch (sysnum) {
@@ -2405,29 +2405,29 @@ systrace_args(register_t sysnum, const v @@ -2405,29 +2405,29 @@ systrace_args(register_t sysnum, const v
2405 iarg[2] = SCARG(p, op); /* int */ 2405 iarg[2] = SCARG(p, op); /* int */
2406 *n_args = 3; 2406 *n_args = 3;
2407 break; 2407 break;
2408 } 2408 }
2409 /* sys_kqueue */ 2409 /* sys_kqueue */
2410 case 344: { 2410 case 344: {
2411 *n_args = 0; 2411 *n_args = 0;
2412 break; 2412 break;
2413 } 2413 }
2414 /* netbsd32_kevent */ 2414 /* netbsd32_kevent */
2415 case 345: { 2415 case 345: {
2416 const struct compat_50_netbsd32_kevent_args *p = params; 2416 const struct compat_50_netbsd32_kevent_args *p = params;
2417 iarg[0] = SCARG(p, fd); /* int */ 2417 iarg[0] = SCARG(p, fd); /* int */
2418 uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* netbsd32_keventp_t */ 2418 uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* netbsd32_kevent100p_t */
2419 iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */ 2419 iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */
2420 uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_keventp_t */ 2420 uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_kevent100p_t */
2421 iarg[4] = SCARG(p, nevents); /* netbsd32_size_t */ 2421 iarg[4] = SCARG(p, nevents); /* netbsd32_size_t */
2422 uarg[5] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespec50p_t */ 2422 uarg[5] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespec50p_t */
2423 *n_args = 6; 2423 *n_args = 6;
2424 break; 2424 break;
2425 } 2425 }
2426 /* netbsd32__sched_setparam */ 2426 /* netbsd32__sched_setparam */
2427 case 346: { 2427 case 346: {
2428 const struct netbsd32__sched_setparam_args *p = params; 2428 const struct netbsd32__sched_setparam_args *p = params;
2429 iarg[0] = SCARG(p, pid); /* pid_t */ 2429 iarg[0] = SCARG(p, pid); /* pid_t */
2430 iarg[1] = SCARG(p, lid); /* lwpid_t */ 2430 iarg[1] = SCARG(p, lid); /* lwpid_t */
2431 iarg[2] = SCARG(p, policy); /* int */ 2431 iarg[2] = SCARG(p, policy); /* int */
2432 uarg[3] = (intptr_t) SCARG(p, params).i32; /* const netbsd32_sched_paramp_t */ 2432 uarg[3] = (intptr_t) SCARG(p, params).i32; /* const netbsd32_sched_paramp_t */
2433 *n_args = 4; 2433 *n_args = 4;
@@ -3101,31 +3101,31 @@ systrace_args(register_t sysnum, const v @@ -3101,31 +3101,31 @@ systrace_args(register_t sysnum, const v
3101 } 3101 }
3102 /* netbsd32__lwp_park */ 3102 /* netbsd32__lwp_park */
3103 case 434: { 3103 case 434: {
3104 const struct compat_60_netbsd32__lwp_park_args *p = params; 3104 const struct compat_60_netbsd32__lwp_park_args *p = params;
3105 uarg[0] = (intptr_t) SCARG(p, ts).i32; /* const netbsd32_timespecp_t */ 3105 uarg[0] = (intptr_t) SCARG(p, ts).i32; /* const netbsd32_timespecp_t */
3106 iarg[1] = SCARG(p, unpark); /* lwpid_t */ 3106 iarg[1] = SCARG(p, unpark); /* lwpid_t */
3107 uarg[2] = (intptr_t) SCARG(p, hint).i32; /* const netbsd32_voidp */ 3107 uarg[2] = (intptr_t) SCARG(p, hint).i32; /* const netbsd32_voidp */
3108 uarg[3] = (intptr_t) SCARG(p, unparkhint).i32; /* const netbsd32_voidp */ 3108 uarg[3] = (intptr_t) SCARG(p, unparkhint).i32; /* const netbsd32_voidp */
3109 *n_args = 4; 3109 *n_args = 4;
3110 break; 3110 break;
3111 } 3111 }
3112 /* netbsd32___kevent50 */ 3112 /* netbsd32___kevent50 */
3113 case 435: { 3113 case 435: {
3114 const struct netbsd32___kevent50_args *p = params; 3114 const struct compat_100_netbsd32___kevent50_args *p = params;
3115 iarg[0] = SCARG(p, fd); /* int */ 3115 iarg[0] = SCARG(p, fd); /* int */
3116 uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* const netbsd32_keventp_t */ 3116 uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* const netbsd32_kevent100p_t */
3117 iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */ 3117 iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */
3118 uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_keventp_t */ 3118 uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_kevent100p_t */
3119 iarg[4] = SCARG(p, nevents); /* netbsd32_size_t */ 3119 iarg[4] = SCARG(p, nevents); /* netbsd32_size_t */
3120 uarg[5] = (intptr_t) SCARG(p, timeout).i32; /* const netbsd32_timespecp_t */ 3120 uarg[5] = (intptr_t) SCARG(p, timeout).i32; /* const netbsd32_timespecp_t */
3121 *n_args = 6; 3121 *n_args = 6;
3122 break; 3122 break;
3123 } 3123 }
3124 /* netbsd32___pselect50 */ 3124 /* netbsd32___pselect50 */
3125 case 436: { 3125 case 436: {
3126 const struct netbsd32___pselect50_args *p = params; 3126 const struct netbsd32___pselect50_args *p = params;
3127 iarg[0] = SCARG(p, nd); /* int */ 3127 iarg[0] = SCARG(p, nd); /* int */
3128 uarg[1] = (intptr_t) SCARG(p, in).i32; /* netbsd32_fd_setp_t */ 3128 uarg[1] = (intptr_t) SCARG(p, in).i32; /* netbsd32_fd_setp_t */
3129 uarg[2] = (intptr_t) SCARG(p, ou).i32; /* netbsd32_fd_setp_t */ 3129 uarg[2] = (intptr_t) SCARG(p, ou).i32; /* netbsd32_fd_setp_t */
3130 uarg[3] = (intptr_t) SCARG(p, ex).i32; /* netbsd32_fd_setp_t */ 3130 uarg[3] = (intptr_t) SCARG(p, ex).i32; /* netbsd32_fd_setp_t */
3131 uarg[4] = (intptr_t) SCARG(p, ts).i32; /* const netbsd32_timespecp_t */ 3131 uarg[4] = (intptr_t) SCARG(p, ts).i32; /* const netbsd32_timespecp_t */
@@ -3694,26 +3694,38 @@ systrace_args(register_t sysnum, const v @@ -3694,26 +3694,38 @@ systrace_args(register_t sysnum, const v
3694 iarg[1] = SCARG(p, type); /* acl_type_t */ 3694 iarg[1] = SCARG(p, type); /* acl_type_t */
3695 uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */ 3695 uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
3696 *n_args = 3; 3696 *n_args = 3;
3697 break; 3697 break;
3698 } 3698 }
3699 /* netbsd32_lpathconf */ 3699 /* netbsd32_lpathconf */
3700 case 499: { 3700 case 499: {
3701 const struct netbsd32_lpathconf_args *p = params; 3701 const struct netbsd32_lpathconf_args *p = params;
3702 uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */ 3702 uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
3703 iarg[1] = SCARG(p, name); /* int */ 3703 iarg[1] = SCARG(p, name); /* int */
3704 *n_args = 2; 3704 *n_args = 2;
3705 break; 3705 break;
3706 } 3706 }
 3707 /* netbsd32___kevent100 */
 3708 case 501: {
 3709 const struct netbsd32___kevent100_args *p = params;
 3710 iarg[0] = SCARG(p, fd); /* int */
 3711 uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* const netbsd32_keventp_t */
 3712 iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */
 3713 uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_keventp_t */
 3714 iarg[4] = SCARG(p, nevents); /* netbsd32_size_t */
 3715 uarg[5] = (intptr_t) SCARG(p, timeout).i32; /* const netbsd32_timespecp_t */
 3716 *n_args = 6;
 3717 break;
 3718 }
3707 default: 3719 default:
3708 *n_args = 0; 3720 *n_args = 0;
3709 break; 3721 break;
3710 }; 3722 };
3711} 3723}
3712static void 3724static void
3713systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3725systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3714{ 3726{
3715 const char *p = NULL; 3727 const char *p = NULL;
3716 switch (sysnum) { 3728 switch (sysnum) {
3717 /* netbsd32_syscall */ 3729 /* netbsd32_syscall */
3718 case 0: 3730 case 0:
3719 switch(ndx) { 3731 switch(ndx) {
@@ -7666,33 +7678,33 @@ systrace_entry_setargdesc(int sysnum, in @@ -7666,33 +7678,33 @@ systrace_entry_setargdesc(int sysnum, in
7666 break; 7678 break;
7667 }; 7679 };
7668 break; 7680 break;
7669 /* sys_kqueue */ 7681 /* sys_kqueue */
7670 case 344: 7682 case 344:
7671 break; 7683 break;
7672 /* netbsd32_kevent */ 7684 /* netbsd32_kevent */
7673 case 345: 7685 case 345:
7674 switch(ndx) { 7686 switch(ndx) {
7675 case 0: 7687 case 0:
7676 p = "int"; 7688 p = "int";
7677 break; 7689 break;
7678 case 1: 7690 case 1:
7679 p = "netbsd32_keventp_t"; 7691 p = "netbsd32_kevent100p_t";
7680 break; 7692 break;
7681 case 2: 7693 case 2:
7682 p = "netbsd32_size_t"; 7694 p = "netbsd32_size_t";
7683 break; 7695 break;
7684 case 3: 7696 case 3:
7685 p = "netbsd32_keventp_t"; 7697 p = "netbsd32_kevent100p_t";
7686 break; 7698 break;
7687 case 4: 7699 case 4:
7688 p = "netbsd32_size_t"; 7700 p = "netbsd32_size_t";
7689 break; 7701 break;
7690 case 5: 7702 case 5:
7691 p = "netbsd32_timespec50p_t"; 7703 p = "netbsd32_timespec50p_t";
7692 break; 7704 break;
7693 default: 7705 default:
7694 break; 7706 break;
7695 }; 7707 };
7696 break; 7708 break;
7697 /* netbsd32__sched_setparam */ 7709 /* netbsd32__sched_setparam */
7698 case 346: 7710 case 346:
@@ -8934,33 +8946,33 @@ systrace_entry_setargdesc(int sysnum, in @@ -8934,33 +8946,33 @@ systrace_entry_setargdesc(int sysnum, in
8934 p = "const netbsd32_voidp"; 8946 p = "const netbsd32_voidp";
8935 break; 8947 break;
8936 default: 8948 default:
8937 break; 8949 break;
8938 }; 8950 };
8939 break; 8951 break;
8940 /* netbsd32___kevent50 */ 8952 /* netbsd32___kevent50 */
8941 case 435: 8953 case 435:
8942 switch(ndx) { 8954 switch(ndx) {
8943 case 0: 8955 case 0:
8944 p = "int"; 8956 p = "int";
8945 break; 8957 break;
8946 case 1: 8958 case 1:
8947 p = "const netbsd32_keventp_t"; 8959 p = "const netbsd32_kevent100p_t";
8948 break; 8960 break;
8949 case 2: 8961 case 2:
8950 p = "netbsd32_size_t"; 8962 p = "netbsd32_size_t";
8951 break; 8963 break;
8952 case 3: 8964 case 3:
8953 p = "netbsd32_keventp_t"; 8965 p = "netbsd32_kevent100p_t";
8954 break; 8966 break;
8955 case 4: 8967 case 4:
8956 p = "netbsd32_size_t"; 8968 p = "netbsd32_size_t";
8957 break; 8969 break;
8958 case 5: 8970 case 5:
8959 p = "const netbsd32_timespecp_t"; 8971 p = "const netbsd32_timespecp_t";
8960 break; 8972 break;
8961 default: 8973 default:
8962 break; 8974 break;
8963 }; 8975 };
8964 break; 8976 break;
8965 /* netbsd32___pselect50 */ 8977 /* netbsd32___pselect50 */
8966 case 436: 8978 case 436:
@@ -10013,26 +10025,51 @@ systrace_entry_setargdesc(int sysnum, in @@ -10013,26 +10025,51 @@ systrace_entry_setargdesc(int sysnum, in
10013 /* netbsd32_lpathconf */ 10025 /* netbsd32_lpathconf */
10014 case 499: 10026 case 499:
10015 switch(ndx) { 10027 switch(ndx) {
10016 case 0: 10028 case 0:
10017 p = "const netbsd32_charp"; 10029 p = "const netbsd32_charp";
10018 break; 10030 break;
10019 case 1: 10031 case 1:
10020 p = "int"; 10032 p = "int";
10021 break; 10033 break;
10022 default: 10034 default:
10023 break; 10035 break;
10024 }; 10036 };
10025 break; 10037 break;
 10038 /* netbsd32___kevent100 */
 10039 case 501:
 10040 switch(ndx) {
 10041 case 0:
 10042 p = "int";
 10043 break;
 10044 case 1:
 10045 p = "const netbsd32_keventp_t";
 10046 break;
 10047 case 2:
 10048 p = "netbsd32_size_t";
 10049 break;
 10050 case 3:
 10051 p = "netbsd32_keventp_t";
 10052 break;
 10053 case 4:
 10054 p = "netbsd32_size_t";
 10055 break;
 10056 case 5:
 10057 p = "const netbsd32_timespecp_t";
 10058 break;
 10059 default:
 10060 break;
 10061 };
 10062 break;
10026 default: 10063 default:
10027 break; 10064 break;
10028 }; 10065 };
10029 if (p != NULL) 10066 if (p != NULL)
10030 strlcpy(desc, p, descsz); 10067 strlcpy(desc, p, descsz);
10031} 10068}
10032static void 10069static void
10033systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 10070systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
10034{ 10071{
10035 const char *p = NULL; 10072 const char *p = NULL;
10036 switch (sysnum) { 10073 switch (sysnum) {
10037 /* netbsd32_syscall */ 10074 /* netbsd32_syscall */
10038 case 0: 10075 case 0:
@@ -12105,19 +12142,24 @@ systrace_return_setargdesc(int sysnum, i @@ -12105,19 +12142,24 @@ systrace_return_setargdesc(int sysnum, i
12105 if (ndx == 0 || ndx == 1) 12142 if (ndx == 0 || ndx == 1)
12106 p = "int"; 12143 p = "int";
12107 break; 12144 break;
12108 /* netbsd32___acl_aclcheck_fd */ 12145 /* netbsd32___acl_aclcheck_fd */
12109 case 498: 12146 case 498:
12110 if (ndx == 0 || ndx == 1) 12147 if (ndx == 0 || ndx == 1)
12111 p = "int"; 12148 p = "int";
12112 break; 12149 break;
12113 /* netbsd32_lpathconf */ 12150 /* netbsd32_lpathconf */
12114 case 499: 12151 case 499:
12115 if (ndx == 0 || ndx == 1) 12152 if (ndx == 0 || ndx == 1)
12116 p = "long"; 12153 p = "long";
12117 break; 12154 break;
 12155 /* netbsd32___kevent100 */
 12156 case 501:
 12157 if (ndx == 0 || ndx == 1)
 12158 p = "int";
 12159 break;
12118 default: 12160 default:
12119 break; 12161 break;
12120 }; 12162 };
12121 if (p != NULL) 12163 if (p != NULL)
12122 strlcpy(desc, p, descsz); 12164 strlcpy(desc, p, descsz);
12123} 12165}