Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/arch regen: add exit_group(2)



details:   https://anonhg.NetBSD.org/src/rev/dd77a7d8dec1
branches:  trunk
changeset: 569835:dd77a7d8dec1
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Sep 08 19:46:17 2004 +0000

description:
regen: add exit_group(2)

diffstat:

 sys/compat/linux/arch/alpha/linux_syscall.h       |   7 +++++--
 sys/compat/linux/arch/alpha/linux_syscallargs.h   |  10 ++++++++--
 sys/compat/linux/arch/alpha/linux_syscalls.c      |   8 ++++----
 sys/compat/linux/arch/alpha/linux_sysent.c        |  10 +++++-----
 sys/compat/linux/arch/arm/linux_syscall.h         |   7 +++++--
 sys/compat/linux/arch/arm/linux_syscallargs.h     |  10 ++++++++--
 sys/compat/linux/arch/arm/linux_syscalls.c        |   8 ++++----
 sys/compat/linux/arch/arm/linux_sysent.c          |  10 +++++-----
 sys/compat/linux/arch/i386/linux_syscall.h        |   7 +++++--
 sys/compat/linux/arch/i386/linux_syscallargs.h    |  10 ++++++++--
 sys/compat/linux/arch/i386/linux_syscalls.c       |   8 ++++----
 sys/compat/linux/arch/i386/linux_sysent.c         |  10 +++++-----
 sys/compat/linux/arch/mips/linux_syscall.h        |   7 +++++--
 sys/compat/linux/arch/mips/linux_syscallargs.h    |  10 ++++++++--
 sys/compat/linux/arch/mips/linux_syscalls.c       |   8 ++++----
 sys/compat/linux/arch/mips/linux_sysent.c         |  10 +++++-----
 sys/compat/linux/arch/powerpc/linux_syscall.h     |   7 +++++--
 sys/compat/linux/arch/powerpc/linux_syscallargs.h |  10 ++++++++--
 sys/compat/linux/arch/powerpc/linux_syscalls.c    |   8 ++++----
 sys/compat/linux/arch/powerpc/linux_sysent.c      |  10 +++++-----
 20 files changed, 110 insertions(+), 65 deletions(-)

diffs (truncated from 608 to 300 lines):

diff -r 5ba8b58a50f5 -r dd77a7d8dec1 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Wed Sep 08 19:45:21 2004 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Wed Sep 08 19:46:17 2004 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.50 2004/08/01 15:38:10 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.51 2004/09/08 19:46:17 jdolecek Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.45 2004/08/01 15:36:23 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.46 2004/09/08 19:45:21 jdolecek Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -508,5 +508,8 @@
 /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
 #define        LINUX_SYS_getdents64    377
 
+/* syscall: "exit_group" ret: "int" args: "int" */
+#define        LINUX_SYS_exit_group    405
+
 #define        LINUX_SYS_MAXSYSCALL    438
 #define        LINUX_SYS_NSYSENT       512
diff -r 5ba8b58a50f5 -r dd77a7d8dec1 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Wed Sep 08 19:45:21 2004 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Wed Sep 08 19:46:17 2004 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.49 2004/08/01 15:38:10 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.50 2004/09/08 19:46:17 jdolecek Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.45 2004/08/01 15:36:23 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.46 2004/09/08 19:45:21 jdolecek Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -599,6 +599,10 @@
        syscallarg(unsigned int) count;
 };
 
+struct linux_sys_exit_group_args {
+       syscallarg(int) error_code;
+};
+
 /*
  * System call prototypes.
  */
@@ -971,4 +975,6 @@
 
 int    linux_sys_getdents64(struct lwp *, void *, register_t *);
 
+int    linux_sys_exit_group(struct lwp *, void *, register_t *);
+
 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
diff -r 5ba8b58a50f5 -r dd77a7d8dec1 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c      Wed Sep 08 19:45:21 2004 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c      Wed Sep 08 19:46:17 2004 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.51 2004/08/01 15:38:10 jdolecek Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.52 2004/09/08 19:46:17 jdolecek Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.45 2004/08/01 15:36:23 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.46 2004/09/08 19:45:21 jdolecek Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.51 2004/08/01 15:38:10 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.52 2004/09/08 19:46:17 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -464,7 +464,7 @@
        "#402 (unimplemented io_cancel)",               /* 402 = unimplemented io_cancel */
        "#403 (unimplemented / * unused * /)",          /* 403 = unimplemented / * unused * / */
        "#404 (unimplemented / * unused * /)",          /* 404 = unimplemented / * unused * / */
-       "#405 (unimplemented exit_group)",              /* 405 = unimplemented exit_group */
+       "exit_group",                   /* 405 = exit_group */
        "#406 (unimplemented lookup_dcookie)",          /* 406 = unimplemented lookup_dcookie */
        "#407 (unimplemented sys_epoll_create)",                /* 407 = unimplemented sys_epoll_create */
        "#408 (unimplemented sys_epoll_ctl)",           /* 408 = unimplemented sys_epoll_ctl */
diff -r 5ba8b58a50f5 -r dd77a7d8dec1 sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c        Wed Sep 08 19:45:21 2004 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c        Wed Sep 08 19:46:17 2004 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.50 2004/08/01 15:38:10 jdolecek Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.51 2004/09/08 19:46:17 jdolecek Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.45 2004/08/01 15:36:23 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.46 2004/09/08 19:45:21 jdolecek Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.50 2004/08/01 15:38:10 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.51 2004/09/08 19:46:17 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -881,8 +881,8 @@
            linux_sys_nosys },                  /* 403 = unimplemented / * unused * / */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 404 = unimplemented / * unused * / */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 405 = unimplemented exit_group */
+       { 1, s(struct linux_sys_exit_group_args), 0,
+           linux_sys_exit_group },             /* 405 = exit_group */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 406 = unimplemented lookup_dcookie */
        { 0, 0, 0,
diff -r 5ba8b58a50f5 -r dd77a7d8dec1 sys/compat/linux/arch/arm/linux_syscall.h
--- a/sys/compat/linux/arch/arm/linux_syscall.h Wed Sep 08 19:45:21 2004 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscall.h Wed Sep 08 19:46:17 2004 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.18 2004/08/01 14:17:19 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.19 2004/09/08 19:46:17 jdolecek Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.17 2004/08/01 14:16:32 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.18 2004/09/08 19:45:22 jdolecek Exp 
  */
 
 /* syscall: "nosys" ret: "int" args: */
@@ -559,6 +559,9 @@
 /* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
 #define        LINUX_SYS_fcntl64       221
 
+/* syscall: "exit_group" ret: "int" args: "int" */
+#define        LINUX_SYS_exit_group    248
+
 /* syscall: "breakpoint" ret: "int" args: */
 #define        LINUX_SYS_breakpoint    385
 
diff -r 5ba8b58a50f5 -r dd77a7d8dec1 sys/compat/linux/arch/arm/linux_syscallargs.h
--- a/sys/compat/linux/arch/arm/linux_syscallargs.h     Wed Sep 08 19:45:21 2004 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscallargs.h     Wed Sep 08 19:46:17 2004 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.18 2004/08/01 14:17:19 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.19 2004/09/08 19:46:17 jdolecek Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.17 2004/08/01 14:16:32 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.18 2004/09/08 19:45:22 jdolecek Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -562,6 +562,10 @@
        syscallarg(void *) arg;
 };
 
+struct linux_sys_exit_group_args {
+       syscallarg(int) error_code;
+};
+
 struct linux_sys_cacheflush_args {
        syscallarg(uintptr_t) from;
        syscallarg(intptr_t) to;
@@ -900,6 +904,8 @@
 
 int    linux_sys_fcntl64(struct lwp *, void *, register_t *);
 
+int    linux_sys_exit_group(struct lwp *, void *, register_t *);
+
 int    linux_sys_breakpoint(struct lwp *, void *, register_t *);
 
 int    linux_sys_cacheflush(struct lwp *, void *, register_t *);
diff -r 5ba8b58a50f5 -r dd77a7d8dec1 sys/compat/linux/arch/arm/linux_syscalls.c
--- a/sys/compat/linux/arch/arm/linux_syscalls.c        Wed Sep 08 19:45:21 2004 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscalls.c        Wed Sep 08 19:46:17 2004 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.18 2004/08/01 14:17:19 jdolecek Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.19 2004/09/08 19:46:17 jdolecek Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.17 2004/08/01 14:16:32 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.18 2004/09/08 19:45:22 jdolecek Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.18 2004/08/01 14:17:19 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.19 2004/09/08 19:46:17 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -282,7 +282,7 @@
        "#245 (unimplemented io_getevents)",            /* 245 = unimplemented io_getevents */
        "#246 (unimplemented io_submit)",               /* 246 = unimplemented io_submit */
        "#247 (unimplemented io_cancel)",               /* 247 = unimplemented io_cancel */
-       "#248 (unimplemented exit_group)",              /* 248 = unimplemented exit_group */
+       "exit_group",                   /* 248 = exit_group */
        "#249 (unimplemented lookup_dcookie)",          /* 249 = unimplemented lookup_dcookie */
        "#250 (unimplemented epoll_create)",            /* 250 = unimplemented epoll_create */
        "#251 (unimplemented epoll_ctl)",               /* 251 = unimplemented epoll_ctl */
diff -r 5ba8b58a50f5 -r dd77a7d8dec1 sys/compat/linux/arch/arm/linux_sysent.c
--- a/sys/compat/linux/arch/arm/linux_sysent.c  Wed Sep 08 19:45:21 2004 +0000
+++ b/sys/compat/linux/arch/arm/linux_sysent.c  Wed Sep 08 19:46:17 2004 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.18 2004/08/01 14:17:19 jdolecek Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.19 2004/09/08 19:46:17 jdolecek Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.17 2004/08/01 14:16:32 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.18 2004/09/08 19:45:22 jdolecek Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.18 2004/08/01 14:17:19 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.19 2004/09/08 19:46:17 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_43.h"
@@ -531,8 +531,8 @@
            linux_sys_nosys },                  /* 246 = unimplemented io_submit */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 247 = unimplemented io_cancel */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 248 = unimplemented exit_group */
+       { 1, s(struct linux_sys_exit_group_args), 0,
+           linux_sys_exit_group },             /* 248 = exit_group */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 249 = unimplemented lookup_dcookie */
        { 0, 0, 0,
diff -r 5ba8b58a50f5 -r dd77a7d8dec1 sys/compat/linux/arch/i386/linux_syscall.h
--- a/sys/compat/linux/arch/i386/linux_syscall.h        Wed Sep 08 19:45:21 2004 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscall.h        Wed Sep 08 19:46:17 2004 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.52 2004/08/01 15:38:10 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.53 2004/09/08 19:46:17 jdolecek Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.69 2004/08/01 15:34:22 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.70 2004/09/08 19:45:22 jdolecek Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -569,5 +569,8 @@
 /* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
 #define        LINUX_SYS_fcntl64       221
 
+/* syscall: "exit_group" ret: "int" args: "int" */
+#define        LINUX_SYS_exit_group    252
+
 #define        LINUX_SYS_MAXSYSCALL    284
 #define        LINUX_SYS_NSYSENT       512
diff -r 5ba8b58a50f5 -r dd77a7d8dec1 sys/compat/linux/arch/i386/linux_syscallargs.h
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h    Wed Sep 08 19:45:21 2004 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h    Wed Sep 08 19:46:17 2004 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.52 2004/08/01 15:38:10 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.53 2004/09/08 19:46:18 jdolecek Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.69 2004/08/01 15:34:22 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.70 2004/09/08 19:45:22 jdolecek Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -615,6 +615,10 @@
        syscallarg(void *) arg;
 };
 
+struct linux_sys_exit_group_args {
+       syscallarg(int) error_code;
+};
+
 /*
  * System call prototypes.
  */
@@ -967,4 +971,6 @@
 
 int    linux_sys_fcntl64(struct lwp *, void *, register_t *);



Home | Main Index | Thread Index | Old Index