Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys regen



details:   https://anonhg.NetBSD.org/src/rev/4674d1bb3d2a
branches:  trunk
changeset: 378263:4674d1bb3d2a
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jul 28 18:20:28 2023 +0000

description:
regen

diffstat:

 sys/compat/linux/arch/amd64/linux_syscall.h       |   22 ++-
 sys/compat/linux/arch/amd64/linux_syscallargs.h   |   60 ++++++-
 sys/compat/linux/arch/amd64/linux_syscalls.c      |   31 +-
 sys/compat/linux/arch/amd64/linux_sysent.c        |   43 +++-
 sys/compat/linux/arch/amd64/linux_systrace_args.c |  190 +++++++++++++++++++++-
 sys/kern/init_sysent.c                            |   49 +++--
 sys/kern/syscalls.c                               |   26 +-
 sys/kern/syscalls_autoload.c                      |    7 +-
 sys/kern/systrace_args.c                          |  176 ++++++++++++++++++--
 sys/rump/include/rump/rump_syscalls.h             |    6 +-
 sys/rump/librump/rumpkern/rump_syscalls.c         |   89 +++++++---
 sys/rump/librump/rumpkern/rumpkern_syscalls.c     |    6 +-
 sys/sys/syscall.h                                 |    4 +-
 sys/sys/syscallargs.h                             |   64 ++++++-
 14 files changed, 637 insertions(+), 136 deletions(-)

diffs (truncated from 1522 to 300 lines):

diff -r f428e9c9c61c -r 4674d1bb3d2a sys/compat/linux/arch/amd64/linux_syscall.h
--- a/sys/compat/linux/arch/amd64/linux_syscall.h       Fri Jul 28 18:18:59 2023 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscall.h       Fri Jul 28 18:20:28 2023 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.77 2023/07/10 02:37:46 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.78 2023/07/28 18:20:52 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.68 2023/07/10 02:31:55 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.69 2023/07/28 18:19:00 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -564,6 +564,9 @@
 /* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
 #define        LINUX_SYS_sched_getaffinity     204
 
+/* syscall: "epoll_create" ret: "int" args: "int" */
+#define        LINUX_SYS_epoll_create  213
+
 /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
 #define        LINUX_SYS_getdents64    217
 
@@ -603,6 +606,12 @@
 /* syscall: "exit_group" ret: "int" args: "int" */
 #define        LINUX_SYS_exit_group    231
 
+/* syscall: "epoll_wait" ret: "int" args: "int" "struct linux_epoll_event *" "int" "int" */
+#define        LINUX_SYS_epoll_wait    232
+
+/* syscall: "epoll_ctl" ret: "int" args: "int" "int" "int" "struct linux_epoll_event *" */
+#define        LINUX_SYS_epoll_ctl     233
+
 /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
 #define        LINUX_SYS_tgkill        234
 
@@ -660,6 +669,9 @@
 /* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
 #define        LINUX_SYS_utimensat     280
 
+/* syscall: "epoll_pwait" ret: "int" args: "int" "struct linux_epoll_event *" "int" "int" "const linux_sigset_t *" */
+#define        LINUX_SYS_epoll_pwait   281
+
 /* syscall: "timerfd_create" ret: "int" args: "clockid_t" "int" */
 #define        LINUX_SYS_timerfd_create        283
 
@@ -681,6 +693,9 @@
 /* syscall: "eventfd2" ret: "int" args: "unsigned int" "int" */
 #define        LINUX_SYS_eventfd2      290
 
+/* syscall: "epoll_create1" ret: "int" args: "int" */
+#define        LINUX_SYS_epoll_create1 291
+
 /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
 #define        LINUX_SYS_dup3  292
 
@@ -708,6 +723,9 @@
 /* syscall: "memfd_create" ret: "int" args: "const char *" "unsigned int" */
 #define        LINUX_SYS_memfd_create  319
 
+/* syscall: "epoll_pwait2" ret: "int" args: "int" "struct linux_epoll_event *" "int" "const struct linux_timespec *" "const linux_sigset_t *" */
+#define        LINUX_SYS_epoll_pwait2  441
+
 /* syscall: "nosys" ret: "int" args: */
 #define        LINUX_SYS_nosys 451
 
diff -r f428e9c9c61c -r 4674d1bb3d2a sys/compat/linux/arch/amd64/linux_syscallargs.h
--- a/sys/compat/linux/arch/amd64/linux_syscallargs.h   Fri Jul 28 18:18:59 2023 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscallargs.h   Fri Jul 28 18:20:28 2023 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.77 2023/07/10 02:37:46 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.78 2023/07/28 18:20:52 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.68 2023/07/10 02:31:55 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.69 2023/07/28 18:19:00 christos Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -837,6 +837,11 @@ struct linux_sys_sched_getaffinity_args 
 };
 check_syscall_args(linux_sys_sched_getaffinity)
 
+struct linux_sys_epoll_create_args {
+       syscallarg(int) size;
+};
+check_syscall_args(linux_sys_epoll_create)
+
 struct linux_sys_getdents64_args {
        syscallarg(int) fd;
        syscallarg(struct linux_dirent64 *) dent;
@@ -913,6 +918,22 @@ struct linux_sys_exit_group_args {
 };
 check_syscall_args(linux_sys_exit_group)
 
+struct linux_sys_epoll_wait_args {
+       syscallarg(int) epfd;
+       syscallarg(struct linux_epoll_event *) events;
+       syscallarg(int) maxevents;
+       syscallarg(int) timeout;
+};
+check_syscall_args(linux_sys_epoll_wait)
+
+struct linux_sys_epoll_ctl_args {
+       syscallarg(int) epfd;
+       syscallarg(int) op;
+       syscallarg(int) fd;
+       syscallarg(struct linux_epoll_event *) event;
+};
+check_syscall_args(linux_sys_epoll_ctl)
+
 struct linux_sys_tgkill_args {
        syscallarg(int) tgid;
        syscallarg(int) tid;
@@ -1023,6 +1044,15 @@ struct linux_sys_utimensat_args {
 };
 check_syscall_args(linux_sys_utimensat)
 
+struct linux_sys_epoll_pwait_args {
+       syscallarg(int) epfd;
+       syscallarg(struct linux_epoll_event *) events;
+       syscallarg(int) maxevents;
+       syscallarg(int) timeout;
+       syscallarg(const linux_sigset_t *) sigmask;
+};
+check_syscall_args(linux_sys_epoll_pwait)
+
 struct linux_sys_timerfd_create_args {
        syscallarg(clockid_t) clock_id;
        syscallarg(int) flags;
@@ -1070,6 +1100,11 @@ struct linux_sys_eventfd2_args {
 };
 check_syscall_args(linux_sys_eventfd2)
 
+struct linux_sys_epoll_create1_args {
+       syscallarg(int) flags;
+};
+check_syscall_args(linux_sys_epoll_create1)
+
 struct linux_sys_dup3_args {
        syscallarg(int) from;
        syscallarg(int) to;
@@ -1134,6 +1169,15 @@ struct linux_sys_memfd_create_args {
 };
 check_syscall_args(linux_sys_memfd_create)
 
+struct linux_sys_epoll_pwait2_args {
+       syscallarg(int) epfd;
+       syscallarg(struct linux_epoll_event *) events;
+       syscallarg(int) maxevents;
+       syscallarg(const struct linux_timespec *) timeout;
+       syscallarg(const linux_sigset_t *) sigmask;
+};
+check_syscall_args(linux_sys_epoll_pwait2)
+
 /*
  * System call prototypes.
  */
@@ -1511,6 +1555,8 @@ int       linux_sys_sched_setaffinity(struct l
 
 int    linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *);
 
+int    linux_sys_epoll_create(struct lwp *, const struct linux_sys_epoll_create_args *, register_t *);
+
 int    linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *);
 
 int    linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *);
@@ -1537,6 +1583,10 @@ int      linux_sys_clock_nanosleep(struct lwp
 
 int    linux_sys_exit_group(struct lwp *, const struct linux_sys_exit_group_args *, register_t *);
 
+int    linux_sys_epoll_wait(struct lwp *, const struct linux_sys_epoll_wait_args *, register_t *);
+
+int    linux_sys_epoll_ctl(struct lwp *, const struct linux_sys_epoll_ctl_args *, register_t *);
+
 int    linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *);
 
 int    compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
@@ -1575,6 +1625,8 @@ int       sys___futex_get_robust_list(struct l
 
 int    linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
 
+int    linux_sys_epoll_pwait(struct lwp *, const struct linux_sys_epoll_pwait_args *, register_t *);
+
 int    linux_sys_timerfd_create(struct lwp *, const struct linux_sys_timerfd_create_args *, register_t *);
 
 int    linux_sys_eventfd(struct lwp *, const struct linux_sys_eventfd_args *, register_t *);
@@ -1589,6 +1641,8 @@ int       linux_sys_accept4(struct lwp *, cons
 
 int    linux_sys_eventfd2(struct lwp *, const struct linux_sys_eventfd2_args *, register_t *);
 
+int    linux_sys_epoll_create1(struct lwp *, const struct linux_sys_epoll_create1_args *, register_t *);
+
 int    linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
 
 int    linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
@@ -1607,6 +1661,8 @@ int       sys_getrandom(struct lwp *, const st
 
 int    linux_sys_memfd_create(struct lwp *, const struct linux_sys_memfd_create_args *, register_t *);
 
+int    linux_sys_epoll_pwait2(struct lwp *, const struct linux_sys_epoll_pwait2_args *, register_t *);
+
 int    linux_sys_nosys(struct lwp *, const void *, register_t *);
 
 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
diff -r f428e9c9c61c -r 4674d1bb3d2a sys/compat/linux/arch/amd64/linux_syscalls.c
--- a/sys/compat/linux/arch/amd64/linux_syscalls.c      Fri Jul 28 18:18:59 2023 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscalls.c      Fri Jul 28 18:20:28 2023 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.77 2023/07/10 02:37:46 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.78 2023/07/28 18:20:52 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.68 2023/07/10 02:31:55 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.69 2023/07/28 18:19:00 christos Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.77 2023/07/10 02:37:46 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.78 2023/07/28 18:20:52 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -25,6 +25,7 @@
 #include <sys/time.h>
 #include <compat/sys/time.h>
 #include <compat/linux/common/linux_types.h>
+#include <compat/linux/common/linux_misc.h>
 #include <compat/linux/common/linux_mmap.h>
 #include <compat/linux/common/linux_ipc.h>
 #include <compat/linux/common/linux_msg.h>
@@ -279,7 +280,7 @@ const char *const linux_syscallnames[] =
        /* 210 */       "#210 (unimplemented io_cancel)",
        /* 211 */       "#211 (unimplemented get_thread_area)",
        /* 212 */       "#212 (unimplemented lookup_dcookie)",
-       /* 213 */       "#213 (unimplemented epoll_create)",
+       /* 213 */       "epoll_create",
        /* 214 */       "#214 (unimplemented epoll_ctl_old)",
        /* 215 */       "#215 (unimplemented epoll_wait_old)",
        /* 216 */       "#216 (unimplemented remap_file_pages)",
@@ -298,8 +299,8 @@ const char *const linux_syscallnames[] =
        /* 229 */       "clock_getres",
        /* 230 */       "clock_nanosleep",
        /* 231 */       "exit_group",
-       /* 232 */       "#232 (unimplemented epoll_wait)",
-       /* 233 */       "#233 (unimplemented epoll_ctl)",
+       /* 232 */       "epoll_wait",
+       /* 233 */       "epoll_ctl",
        /* 234 */       "tgkill",
        /* 235 */       "utimes",
        /* 236 */       "#236 (unimplemented vserver)",
@@ -347,7 +348,7 @@ const char *const linux_syscallnames[] =
        /* 278 */       "#278 (unimplemented vmsplice)",
        /* 279 */       "#279 (unimplemented move_pages)",
        /* 280 */       "utimensat",
-       /* 281 */       "#281 (unimplemented epoll_pwait)",
+       /* 281 */       "epoll_pwait",
        /* 282 */       "#282 (unimplemented signalfd)",
        /* 283 */       "timerfd_create",
        /* 284 */       "eventfd",
@@ -357,7 +358,7 @@ const char *const linux_syscallnames[] =
        /* 288 */       "accept4",
        /* 289 */       "#289 (unimplemented signalfd4)",
        /* 290 */       "eventfd2",
-       /* 291 */       "#291 (unimplemented epoll_create1)",
+       /* 291 */       "epoll_create1",
        /* 292 */       "dup3",
        /* 293 */       "pipe2",
        /* 294 */       "#294 (unimplemented inotify_init1)",
@@ -507,7 +508,7 @@ const char *const linux_syscallnames[] =
        /* 438 */       "#438 (unimplemented pidfd_getfd)",
        /* 439 */       "#439 (unimplemented faccessat2)",
        /* 440 */       "#440 (unimplemented process_madvise)",
-       /* 441 */       "#441 (unimplemented epoll_pwait2)",
+       /* 441 */       "epoll_pwait2",
        /* 442 */       "#442 (unimplemented mount_setattr)",
        /* 443 */       "#443 (unimplemented quotactl_fd)",
        /* 444 */       "#444 (unimplemented landlock_create_ruleset)",
@@ -823,7 +824,7 @@ const char *const altlinux_syscallnames[
        /* 210 */       NULL, /* unimplemented io_cancel */
        /* 211 */       NULL, /* unimplemented get_thread_area */
        /* 212 */       NULL, /* unimplemented lookup_dcookie */
-       /* 213 */       NULL, /* unimplemented epoll_create */
+       /* 213 */       NULL, /* epoll_create */
        /* 214 */       NULL, /* unimplemented epoll_ctl_old */
        /* 215 */       NULL, /* unimplemented epoll_wait_old */
        /* 216 */       NULL, /* unimplemented remap_file_pages */
@@ -842,8 +843,8 @@ const char *const altlinux_syscallnames[
        /* 229 */       NULL, /* clock_getres */
        /* 230 */       NULL, /* clock_nanosleep */
        /* 231 */       NULL, /* exit_group */



Home | Main Index | Thread Index | Old Index