Source-Changes-HG archive

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

[src/trunk]: src/sys/compat Regen for eventfd.



details:   https://anonhg.NetBSD.org/src/rev/c15d15139459
branches:  trunk
changeset: 986331:c15d15139459
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Sep 20 00:09:33 2021 +0000

description:
Regen for eventfd.

diffstat:

 sys/compat/linux/arch/alpha/linux_syscall.h           |  10 +++-
 sys/compat/linux/arch/alpha/linux_syscallargs.h       |  19 ++++++-
 sys/compat/linux/arch/alpha/linux_syscalls.c          |  14 ++--
 sys/compat/linux/arch/alpha/linux_sysent.c            |  16 +++--
 sys/compat/linux/arch/amd64/linux_syscall.h           |  10 +++-
 sys/compat/linux/arch/amd64/linux_syscallargs.h       |  19 ++++++-
 sys/compat/linux/arch/amd64/linux_syscalls.c          |  14 ++--
 sys/compat/linux/arch/amd64/linux_sysent.c            |  16 +++--
 sys/compat/linux/arch/amd64/linux_systrace_args.c     |  50 ++++++++++++++++++-
 sys/compat/linux/arch/arm/linux_syscall.h             |  10 +++-
 sys/compat/linux/arch/arm/linux_syscallargs.h         |  19 ++++++-
 sys/compat/linux/arch/arm/linux_syscalls.c            |  14 ++--
 sys/compat/linux/arch/arm/linux_sysent.c              |  16 +++--
 sys/compat/linux/arch/arm/linux_systrace_args.c       |  50 ++++++++++++++++++-
 sys/compat/linux/arch/i386/linux_syscall.h            |  10 +++-
 sys/compat/linux/arch/i386/linux_syscallargs.h        |  19 ++++++-
 sys/compat/linux/arch/i386/linux_syscalls.c           |  14 ++--
 sys/compat/linux/arch/i386/linux_sysent.c             |  16 +++--
 sys/compat/linux/arch/i386/linux_systrace_args.c      |  50 ++++++++++++++++++-
 sys/compat/linux/arch/m68k/linux_syscall.h            |  10 +++-
 sys/compat/linux/arch/m68k/linux_syscallargs.h        |  19 ++++++-
 sys/compat/linux/arch/m68k/linux_syscalls.c           |  14 ++--
 sys/compat/linux/arch/m68k/linux_sysent.c             |  16 +++--
 sys/compat/linux/arch/mips/linux_syscall.h            |  10 +++-
 sys/compat/linux/arch/mips/linux_syscallargs.h        |  19 ++++++-
 sys/compat/linux/arch/mips/linux_syscalls.c           |  14 ++--
 sys/compat/linux/arch/mips/linux_sysent.c             |  16 +++--
 sys/compat/linux/arch/powerpc/linux_syscall.h         |  10 +++-
 sys/compat/linux/arch/powerpc/linux_syscallargs.h     |  19 ++++++-
 sys/compat/linux/arch/powerpc/linux_syscalls.c        |  14 ++--
 sys/compat/linux/arch/powerpc/linux_sysent.c          |  16 +++--
 sys/compat/linux32/arch/amd64/linux32_syscall.h       |  10 +++-
 sys/compat/linux32/arch/amd64/linux32_syscallargs.h   |  19 ++++++-
 sys/compat/linux32/arch/amd64/linux32_syscalls.c      |  14 ++--
 sys/compat/linux32/arch/amd64/linux32_sysent.c        |  16 +++--
 sys/compat/linux32/arch/amd64/linux32_systrace_args.c |  50 ++++++++++++++++++-
 36 files changed, 524 insertions(+), 148 deletions(-)

diffs (truncated from 1931 to 300 lines):

diff -r 78a6adcc2217 -r c15d15139459 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Mon Sep 20 00:09:01 2021 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Mon Sep 20 00:09:33 2021 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.112 2021/09/19 23:52:07 thorpej Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.113 2021/09/20 00:09:33 thorpej Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.99 2021/09/19 23:51:36 thorpej Exp
+ * created from        NetBSD: syscalls.master,v 1.100 2021/09/20 00:09:01 thorpej Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -714,6 +714,9 @@
 /* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
 #define        LINUX_SYS_utimensat     475
 
+/* syscall: "eventfd" ret: "int" args: "unsigned int" */
+#define        LINUX_SYS_eventfd       478
+
 /* syscall: "recvmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" "struct timespec *" */
 #define        LINUX_SYS_recvmmsg      479
 
@@ -729,6 +732,9 @@
 /* syscall: "timerfd_gettime" ret: "int" args: "int" "struct linux_itimerspec *" */
 #define        LINUX_SYS_timerfd_gettime       483
 
+/* syscall: "eventfd2" ret: "int" args: "unsigned int" "int" */
+#define        LINUX_SYS_eventfd2      485
+
 /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
 #define        LINUX_SYS_dup3  487
 
diff -r 78a6adcc2217 -r c15d15139459 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Mon Sep 20 00:09:01 2021 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Mon Sep 20 00:09:33 2021 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.111 2021/09/19 23:52:07 thorpej Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.112 2021/09/20 00:09:33 thorpej Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.99 2021/09/19 23:51:36 thorpej Exp
+ * created from        NetBSD: syscalls.master,v 1.100 2021/09/20 00:09:01 thorpej Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1133,6 +1133,11 @@
 };
 check_syscall_args(linux_sys_utimensat)
 
+struct linux_sys_eventfd_args {
+       syscallarg(unsigned int) initval;
+};
+check_syscall_args(linux_sys_eventfd)
+
 struct linux_sys_recvmmsg_args {
        syscallarg(int) s;
        syscallarg(struct linux_mmsghdr *) msgvec;
@@ -1170,6 +1175,12 @@
 };
 check_syscall_args(linux_sys_timerfd_gettime)
 
+struct linux_sys_eventfd2_args {
+       syscallarg(unsigned int) initval;
+       syscallarg(int) flags;
+};
+check_syscall_args(linux_sys_eventfd2)
+
 struct linux_sys_dup3_args {
        syscallarg(int) from;
        syscallarg(int) to;
@@ -1675,6 +1686,8 @@
 
 int    linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
 
+int    linux_sys_eventfd(struct lwp *, const struct linux_sys_eventfd_args *, register_t *);
+
 int    linux_sys_recvmmsg(struct lwp *, const struct linux_sys_recvmmsg_args *, register_t *);
 
 int    linux_sys_fallocate(struct lwp *, const struct linux_sys_fallocate_args *, register_t *);
@@ -1685,6 +1698,8 @@
 
 int    linux_sys_timerfd_gettime(struct lwp *, const struct linux_sys_timerfd_gettime_args *, register_t *);
 
+int    linux_sys_eventfd2(struct lwp *, const struct linux_sys_eventfd2_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 *);
diff -r 78a6adcc2217 -r c15d15139459 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c      Mon Sep 20 00:09:01 2021 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c      Mon Sep 20 00:09:33 2021 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.113 2021/09/19 23:52:07 thorpej Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.114 2021/09/20 00:09:33 thorpej Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.99 2021/09/19 23:51:36 thorpej Exp
+ * created from        NetBSD: syscalls.master,v 1.100 2021/09/20 00:09:01 thorpej Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.113 2021/09/19 23:52:07 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.114 2021/09/20 00:09:33 thorpej Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -537,14 +537,14 @@
        /* 475 */       "utimensat",
        /* 476 */       "#476 (unimplemented signalfd)",
        /* 477 */       "#477 (unimplemented timerfd)",
-       /* 478 */       "#478 (unimplemented eventfd)",
+       /* 478 */       "eventfd",
        /* 479 */       "recvmmsg",
        /* 480 */       "fallocate",
        /* 481 */       "timerfd_create",
        /* 482 */       "timerfd_settime",
        /* 483 */       "timerfd_gettime",
        /* 484 */       "#484 (unimplemented signalfd4)",
-       /* 485 */       "#485 (unimplemented eventfd2)",
+       /* 485 */       "eventfd2",
        /* 486 */       "#486 (unimplemented epoll_create1)",
        /* 487 */       "dup3",
        /* 488 */       "pipe2",
@@ -1078,14 +1078,14 @@
        /* 475 */       NULL, /* utimensat */
        /* 476 */       NULL, /* unimplemented signalfd */
        /* 477 */       NULL, /* unimplemented timerfd */
-       /* 478 */       NULL, /* unimplemented eventfd */
+       /* 478 */       NULL, /* eventfd */
        /* 479 */       NULL, /* recvmmsg */
        /* 480 */       NULL, /* fallocate */
        /* 481 */       NULL, /* timerfd_create */
        /* 482 */       NULL, /* timerfd_settime */
        /* 483 */       NULL, /* timerfd_gettime */
        /* 484 */       NULL, /* unimplemented signalfd4 */
-       /* 485 */       NULL, /* unimplemented eventfd2 */
+       /* 485 */       NULL, /* eventfd2 */
        /* 486 */       NULL, /* unimplemented epoll_create1 */
        /* 487 */       NULL, /* dup3 */
        /* 488 */       NULL, /* pipe2 */
diff -r 78a6adcc2217 -r c15d15139459 sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c        Mon Sep 20 00:09:01 2021 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c        Mon Sep 20 00:09:33 2021 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.112 2021/09/19 23:52:07 thorpej Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.113 2021/09/20 00:09:33 thorpej Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.99 2021/09/19 23:51:36 thorpej Exp
+ * created from        NetBSD: syscalls.master,v 1.100 2021/09/20 00:09:01 thorpej Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.112 2021/09/19 23:52:07 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.113 2021/09/20 00:09:33 thorpej Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -1904,8 +1904,9 @@
                .sy_call = linux_sys_nosys,
        },              /* 477 = filler */
        {
-               .sy_call = linux_sys_nosys,
-       },              /* 478 = filler */
+               ns(struct linux_sys_eventfd_args),
+               .sy_call = (sy_call_t *)linux_sys_eventfd
+       },              /* 478 = eventfd */
        {
                ns(struct linux_sys_recvmmsg_args),
                .sy_flags = SYCALL_ARG_PTR,
@@ -1934,8 +1935,9 @@
                .sy_call = linux_sys_nosys,
        },              /* 484 = filler */
        {
-               .sy_call = linux_sys_nosys,
-       },              /* 485 = filler */
+               ns(struct linux_sys_eventfd2_args),
+               .sy_call = (sy_call_t *)linux_sys_eventfd2
+       },              /* 485 = eventfd2 */
        {
                .sy_call = linux_sys_nosys,
        },              /* 486 = filler */
diff -r 78a6adcc2217 -r c15d15139459 sys/compat/linux/arch/amd64/linux_syscall.h
--- a/sys/compat/linux/arch/amd64/linux_syscall.h       Mon Sep 20 00:09:01 2021 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscall.h       Mon Sep 20 00:09:33 2021 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.73 2021/09/19 23:52:07 thorpej Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.74 2021/09/20 00:09:33 thorpej Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.64 2021/09/19 23:51:36 thorpej Exp
+ * created from        NetBSD: syscalls.master,v 1.65 2021/09/20 00:09:01 thorpej Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -663,6 +663,9 @@
 /* syscall: "timerfd_create" ret: "int" args: "clockid_t" "int" */
 #define        LINUX_SYS_timerfd_create        283
 
+/* syscall: "eventfd" ret: "int" args: "unsigned int" */
+#define        LINUX_SYS_eventfd       284
+
 /* syscall: "fallocate" ret: "int" args: "int" "int" "off_t" "off_t" */
 #define        LINUX_SYS_fallocate     285
 
@@ -675,6 +678,9 @@
 /* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */
 #define        LINUX_SYS_accept4       288
 
+/* syscall: "eventfd2" ret: "int" args: "unsigned int" "int" */
+#define        LINUX_SYS_eventfd2      290
+
 /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
 #define        LINUX_SYS_dup3  292
 
diff -r 78a6adcc2217 -r c15d15139459 sys/compat/linux/arch/amd64/linux_syscallargs.h
--- a/sys/compat/linux/arch/amd64/linux_syscallargs.h   Mon Sep 20 00:09:01 2021 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscallargs.h   Mon Sep 20 00:09:33 2021 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.73 2021/09/19 23:52:07 thorpej Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.74 2021/09/20 00:09:33 thorpej Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.64 2021/09/19 23:51:36 thorpej Exp
+ * created from        NetBSD: syscalls.master,v 1.65 2021/09/20 00:09:01 thorpej Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1029,6 +1029,11 @@
 };
 check_syscall_args(linux_sys_timerfd_create)
 
+struct linux_sys_eventfd_args {
+       syscallarg(unsigned int) initval;
+};
+check_syscall_args(linux_sys_eventfd)
+
 struct linux_sys_fallocate_args {
        syscallarg(int) fd;
        syscallarg(int) mode;
@@ -1059,6 +1064,12 @@
 };
 check_syscall_args(linux_sys_accept4)
 
+struct linux_sys_eventfd2_args {
+       syscallarg(unsigned int) initval;
+       syscallarg(int) flags;
+};
+check_syscall_args(linux_sys_eventfd2)
+
 struct linux_sys_dup3_args {
        syscallarg(int) from;
        syscallarg(int) to;
@@ -1532,6 +1543,8 @@
 
 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 *);
+
 int    linux_sys_fallocate(struct lwp *, const struct linux_sys_fallocate_args *, register_t *);
 
 int    linux_sys_timerfd_settime(struct lwp *, const struct linux_sys_timerfd_settime_args *, register_t *);
@@ -1540,6 +1553,8 @@
 
 int    linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *);
 
+int    linux_sys_eventfd2(struct lwp *, const struct linux_sys_eventfd2_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 *);
diff -r 78a6adcc2217 -r c15d15139459 sys/compat/linux/arch/amd64/linux_syscalls.c
--- a/sys/compat/linux/arch/amd64/linux_syscalls.c      Mon Sep 20 00:09:01 2021 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscalls.c      Mon Sep 20 00:09:33 2021 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.73 2021/09/19 23:52:07 thorpej Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.74 2021/09/20 00:09:33 thorpej Exp $ */
 
 /*
  * System call names.
  *



Home | Main Index | Thread Index | Old Index