Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 Regen for dup3.



details:   https://anonhg.NetBSD.org/src/rev/abd915900ccf
branches:  trunk
changeset: 769112:abd915900ccf
user:      njoly <njoly%NetBSD.org@localhost>
date:      Wed Aug 31 16:51:05 2011 +0000

description:
Regen for dup3.

diffstat:

 sys/compat/netbsd32/netbsd32_syscall.h     |   9 ++++++---
 sys/compat/netbsd32/netbsd32_syscallargs.h |  13 +++++++++++--
 sys/compat/netbsd32/netbsd32_syscalls.c    |   8 ++++----
 sys/compat/netbsd32/netbsd32_sysent.c      |  10 +++++-----
 4 files changed, 26 insertions(+), 14 deletions(-)

diffs (126 lines):

diff -r 66e85cced366 -r abd915900ccf sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h    Wed Aug 31 16:50:32 2011 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h    Wed Aug 31 16:51:05 2011 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.94 2011/07/05 14:23:26 njoly Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.95 2011/08/31 16:51:05 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -1202,6 +1202,9 @@
 /* syscall: "netbsd32_pipe2" ret: "int" args: "netbsd32_intp" "int" */
 #define        NETBSD32_SYS_netbsd32_pipe2     453
 
-#define        NETBSD32_SYS_MAXSYSCALL 454
+/* syscall: "netbsd32_dup3" ret: "int" args: "int" "int" "int" */
+#define        NETBSD32_SYS_netbsd32_dup3      454
+
+#define        NETBSD32_SYS_MAXSYSCALL 455
 #define        NETBSD32_SYS_NSYSENT    512
 #endif /* _NETBSD32_SYS_SYSCALL_H_ */
diff -r 66e85cced366 -r abd915900ccf sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h        Wed Aug 31 16:50:32 2011 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h        Wed Aug 31 16:51:05 2011 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.94 2011/07/05 14:23:27 njoly Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.95 2011/08/31 16:51:05 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -2315,6 +2315,13 @@
 };
 check_syscall_args(netbsd32_pipe2)
 
+struct netbsd32_dup3_args {
+       syscallarg(int) from;
+       syscallarg(int) to;
+       syscallarg(int) flags;
+};
+check_syscall_args(netbsd32_dup3)
+
 /*
  * System call prototypes.
  */
@@ -3095,4 +3102,6 @@
 
 int    netbsd32_pipe2(struct lwp *, const struct netbsd32_pipe2_args *, register_t *);
 
+int    netbsd32_dup3(struct lwp *, const struct netbsd32_dup3_args *, register_t *);
+
 #endif /* _NETBSD32_SYS_SYSCALLARGS_H_ */
diff -r 66e85cced366 -r abd915900ccf sys/compat/netbsd32/netbsd32_syscalls.c
--- a/sys/compat/netbsd32/netbsd32_syscalls.c   Wed Aug 31 16:50:32 2011 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls.c   Wed Aug 31 16:51:05 2011 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.93 2011/07/05 14:23:27 njoly Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.94 2011/08/31 16:51:05 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.93 2011/07/05 14:23:27 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.94 2011/08/31 16:51:05 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -565,7 +565,7 @@
        /* 451 */       "netbsd32___fhstat50",
        /* 452 */       "netbsd32___quotactl50",
        /* 453 */       "netbsd32_pipe2",
-       /* 454 */       "# filler",
+       /* 454 */       "netbsd32_dup3",
        /* 455 */       "# filler",
        /* 456 */       "# filler",
        /* 457 */       "# filler",
diff -r 66e85cced366 -r abd915900ccf sys/compat/netbsd32/netbsd32_sysent.c
--- a/sys/compat/netbsd32/netbsd32_sysent.c     Wed Aug 31 16:50:32 2011 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysent.c     Wed Aug 31 16:51:05 2011 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.93 2011/07/05 14:23:27 njoly Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.94 2011/08/31 16:51:05 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.93 2011/07/05 14:23:27 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.94 2011/08/31 16:51:05 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -1134,8 +1134,8 @@
            (sy_call_t *)netbsd32___quotactl50 },/* 452 = netbsd32___quotactl50 */
        { ns(struct netbsd32_pipe2_args), 0,
            (sy_call_t *)netbsd32_pipe2 },      /* 453 = netbsd32_pipe2 */
-       { 0, 0, 0,
-           sys_nosys },                        /* 454 = filler */
+       { ns(struct netbsd32_dup3_args), 0,
+           (sy_call_t *)netbsd32_dup3 },       /* 454 = netbsd32_dup3 */
        { 0, 0, 0,
            sys_nosys },                        /* 455 = filler */
        { 0, 0, 0,



Home | Main Index | Thread Index | Old Index