linux/aarch64: Regen for syscalls.master,v 1.8diff -r1.6 -r1.7 src/sys/compat/linux/arch/aarch64/linux_syscall.h
(rin)
--- src/sys/compat/linux/arch/aarch64/linux_syscall.h 2023/07/28 19:01:44 1.6
+++ src/sys/compat/linux/arch/aarch64/linux_syscall.h 2023/07/29 06:50:47 1.7
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | /* $NetBSD: linux_syscall.h,v 1.6 2023/07/28 19:01:44 christos Exp $ */ | 1 | /* $NetBSD: linux_syscall.h,v 1.7 2023/07/29 06:50:47 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.6 2023/07/28 19:01:10 christos Exp | 7 | * created from NetBSD: syscalls.master,v 1.8 2023/07/29 06:47:26 rin Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #ifndef _LINUX_SYS_SYSCALL_H_ | 10 | #ifndef _LINUX_SYS_SYSCALL_H_ | |
11 | #define _LINUX_SYS_SYSCALL_H_ | 11 | #define _LINUX_SYS_SYSCALL_H_ | |
12 | 12 | |||
13 | #define LINUX_SYS_MAXSYSARGS 8 | 13 | #define LINUX_SYS_MAXSYSARGS 8 | |
14 | 14 | |||
15 | /* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ | 15 | /* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ | |
16 | #define LINUX_SYS_setxattr 5 | 16 | #define LINUX_SYS_setxattr 5 | |
17 | 17 | |||
18 | /* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ | 18 | /* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ | |
19 | #define LINUX_SYS_lsetxattr 6 | 19 | #define LINUX_SYS_lsetxattr 6 | |
20 | 20 |
--- src/sys/compat/linux/arch/aarch64/linux_syscallargs.h 2023/07/28 19:01:44 1.6
+++ src/sys/compat/linux/arch/aarch64/linux_syscallargs.h 2023/07/29 06:50:47 1.7
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | /* $NetBSD: linux_syscallargs.h,v 1.6 2023/07/28 19:01:44 christos Exp $ */ | 1 | /* $NetBSD: linux_syscallargs.h,v 1.7 2023/07/29 06:50:47 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.6 2023/07/28 19:01:10 christos Exp | 7 | * created from NetBSD: syscalls.master,v 1.8 2023/07/29 06:47:26 rin Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #ifndef _LINUX_SYS_SYSCALLARGS_H_ | 10 | #ifndef _LINUX_SYS_SYSCALLARGS_H_ | |
11 | #define _LINUX_SYS_SYSCALLARGS_H_ | 11 | #define _LINUX_SYS_SYSCALLARGS_H_ | |
12 | 12 | |||
13 | /* Forward declaration */ | 13 | /* Forward declaration */ | |
14 | struct lwp; | 14 | struct lwp; | |
15 | 15 | |||
16 | #define LINUX_SYS_MAXSYSARGS 8 | 16 | #define LINUX_SYS_MAXSYSARGS 8 | |
17 | 17 | |||
18 | #undef syscallarg | 18 | #undef syscallarg | |
19 | #define syscallarg(x) \ | 19 | #define syscallarg(x) \ | |
20 | union { \ | 20 | union { \ |
--- src/sys/compat/linux/arch/aarch64/linux_syscalls.c 2023/07/28 19:01:44 1.6
+++ src/sys/compat/linux/arch/aarch64/linux_syscalls.c 2023/07/29 06:50:47 1.7
@@ -1,49 +1,49 @@ | @@ -1,49 +1,49 @@ | |||
1 | /* $NetBSD: linux_syscalls.c,v 1.6 2023/07/28 19:01:44 christos Exp $ */ | 1 | /* $NetBSD: linux_syscalls.c,v 1.7 2023/07/29 06:50:47 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.6 2023/07/28 19:01:10 christos Exp | 7 | * created from NetBSD: syscalls.master,v 1.8 2023/07/29 06:47:26 rin Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #include <sys/cdefs.h> | 10 | #include <sys/cdefs.h> | |
11 | __KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.6 2023/07/28 19:01:44 christos Exp $"); | 11 | __KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.7 2023/07/29 06:50:47 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_sysv.h" | 15 | #include "opt_sysv.h" | |
16 | #include "opt_compat_43.h" | 16 | #include "opt_compat_43.h" | |
17 | #include "opt_compat_netbsd.h" | 17 | #include "opt_compat_netbsd.h" | |
18 | #endif | 18 | #endif | |
19 | #include <sys/param.h> | 19 | #include <sys/param.h> | |
20 | #include <sys/poll.h> | 20 | #include <sys/poll.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> | |
25 | #include <sys/time.h> | 25 | #include <sys/time.h> | |
26 | #include <compat/sys/time.h> | 26 | #include <compat/sys/time.h> | |
27 | #include <compat/linux/common/linux_types.h> | 27 | #include <compat/linux/common/linux_types.h> | |
28 | #include <compat/linux/common/linux_ipc.h> | |||
28 | #include <compat/linux/common/linux_machdep.h> | 29 | #include <compat/linux/common/linux_machdep.h> | |
30 | #include <compat/linux/common/linux_misc.h> | |||
29 | #include <compat/linux/common/linux_mmap.h> | 31 | #include <compat/linux/common/linux_mmap.h> | |
30 | #include <compat/linux/common/linux_ipc.h> | |||
31 | #include <compat/linux/common/linux_msg.h> | 32 | #include <compat/linux/common/linux_msg.h> | |
32 | #include <compat/linux/common/linux_sem.h> | 33 | #include <compat/linux/common/linux_sem.h> | |
33 | #include <compat/linux/common/linux_shm.h> | 34 | #include <compat/linux/common/linux_shm.h> | |
34 | #include <compat/linux/common/linux_signal.h> | |||
35 | #include <compat/linux/common/linux_siginfo.h> | 35 | #include <compat/linux/common/linux_siginfo.h> | |
36 | #include <compat/linux/common/linux_machdep.h> | 36 | #include <compat/linux/common/linux_signal.h> | |
37 | #include <compat/linux/linux_syscallargs.h> | 37 | #include <compat/linux/linux_syscallargs.h> | |
38 | #else /* _KERNEL_OPT */ | 38 | #else /* _KERNEL_OPT */ | |
39 | #include <sys/null.h> | 39 | #include <sys/null.h> | |
40 | #endif /* _KERNEL_OPT */ | 40 | #endif /* _KERNEL_OPT */ | |
41 | 41 | |||
42 | const char *const linux_syscallnames[] = { | 42 | const char *const linux_syscallnames[] = { | |
43 | /* 0 */ "#0 (unimplemented io_setup)", | 43 | /* 0 */ "#0 (unimplemented io_setup)", | |
44 | /* 1 */ "#1 (unimplemented io_destroy)", | 44 | /* 1 */ "#1 (unimplemented io_destroy)", | |
45 | /* 2 */ "#2 (unimplemented io_submit)", | 45 | /* 2 */ "#2 (unimplemented io_submit)", | |
46 | /* 3 */ "#3 (unimplemented io_cancel)", | 46 | /* 3 */ "#3 (unimplemented io_cancel)", | |
47 | /* 4 */ "#4 (unimplemented io_getevents)", | 47 | /* 4 */ "#4 (unimplemented io_getevents)", | |
48 | /* 5 */ "setxattr", | 48 | /* 5 */ "setxattr", | |
49 | /* 6 */ "lsetxattr", | 49 | /* 6 */ "lsetxattr", |
--- src/sys/compat/linux/arch/aarch64/linux_sysent.c 2023/07/28 19:01:44 1.6
+++ src/sys/compat/linux/arch/aarch64/linux_sysent.c 2023/07/29 06:50:47 1.7
@@ -1,48 +1,48 @@ | @@ -1,48 +1,48 @@ | |||
1 | /* $NetBSD: linux_sysent.c,v 1.6 2023/07/28 19:01:44 christos Exp $ */ | 1 | /* $NetBSD: linux_sysent.c,v 1.7 2023/07/29 06:50:47 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.6 2023/07/28 19:01:10 christos Exp | 7 | * created from NetBSD: syscalls.master,v 1.8 2023/07/29 06:47:26 rin Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #include <sys/cdefs.h> | 10 | #include <sys/cdefs.h> | |
11 | __KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.6 2023/07/28 19:01:44 christos Exp $"); | 11 | __KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.7 2023/07/29 06:50:47 rin Exp $"); | |
12 | 12 | |||
13 | #if defined(_KERNEL_OPT) | 13 | #if defined(_KERNEL_OPT) | |
14 | #include "opt_sysv.h" | 14 | #include "opt_sysv.h" | |
15 | #include "opt_compat_43.h" | 15 | #include "opt_compat_43.h" | |
16 | #include "opt_compat_netbsd.h" | 16 | #include "opt_compat_netbsd.h" | |
17 | #endif | 17 | #endif | |
18 | #include <sys/param.h> | 18 | #include <sys/param.h> | |
19 | #include <sys/poll.h> | 19 | #include <sys/poll.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 <sys/time.h> | 24 | #include <sys/time.h> | |
25 | #include <compat/sys/time.h> | 25 | #include <compat/sys/time.h> | |
26 | #include <compat/linux/common/linux_types.h> | 26 | #include <compat/linux/common/linux_types.h> | |
27 | #include <compat/linux/common/linux_ipc.h> | |||
27 | #include <compat/linux/common/linux_machdep.h> | 28 | #include <compat/linux/common/linux_machdep.h> | |
29 | #include <compat/linux/common/linux_misc.h> | |||
28 | #include <compat/linux/common/linux_mmap.h> | 30 | #include <compat/linux/common/linux_mmap.h> | |
29 | #include <compat/linux/common/linux_ipc.h> | |||
30 | #include <compat/linux/common/linux_msg.h> | 31 | #include <compat/linux/common/linux_msg.h> | |
31 | #include <compat/linux/common/linux_sem.h> | 32 | #include <compat/linux/common/linux_sem.h> | |
32 | #include <compat/linux/common/linux_shm.h> | 33 | #include <compat/linux/common/linux_shm.h> | |
33 | #include <compat/linux/common/linux_signal.h> | |||
34 | #include <compat/linux/common/linux_siginfo.h> | 34 | #include <compat/linux/common/linux_siginfo.h> | |
35 | #include <compat/linux/common/linux_machdep.h> | 35 | #include <compat/linux/common/linux_signal.h> | |
36 | #include <compat/linux/linux_syscallargs.h> | 36 | #include <compat/linux/linux_syscallargs.h> | |
37 | 37 | |||
38 | #define s(type) sizeof(type) | 38 | #define s(type) sizeof(type) | |
39 | #define n(type) (sizeof(type)/sizeof (register_t)) | 39 | #define n(type) (sizeof(type)/sizeof (register_t)) | |
40 | #define ns(type) .sy_narg = n(type), .sy_argsize = s(type) | 40 | #define ns(type) .sy_narg = n(type), .sy_argsize = s(type) | |
41 | 41 | |||
42 | struct sysent linux_sysent[] = { | 42 | struct sysent linux_sysent[] = { | |
43 | { | 43 | { | |
44 | .sy_call = linux_sys_nosys, | 44 | .sy_call = linux_sys_nosys, | |
45 | }, /* 0 = filler */ | 45 | }, /* 0 = filler */ | |
46 | { | 46 | { | |
47 | .sy_call = linux_sys_nosys, | 47 | .sy_call = linux_sys_nosys, | |
48 | }, /* 1 = filler */ | 48 | }, /* 1 = filler */ |
--- src/sys/compat/linux/arch/aarch64/linux_systrace_args.c 2023/07/28 19:01:44 1.6
+++ src/sys/compat/linux/arch/aarch64/linux_systrace_args.c 2023/07/29 06:50:47 1.7
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: linux_systrace_args.c,v 1.6 2023/07/28 19:01:44 christos Exp $ */ | 1 | /* $NetBSD: linux_systrace_args.c,v 1.7 2023/07/29 06:50:47 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 | |||
10 | static void | 10 | static void | |
11 | systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args) | 11 | systrace_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) { |