Source-Changes-HG archive

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

[src/trunk]: src/sys Regen for posix_spawn



details:   https://anonhg.NetBSD.org/src/rev/f02a65f51f9b
branches:  trunk
changeset: 773652:f02a65f51f9b
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Feb 11 23:18:13 2012 +0000

description:
Regen for posix_spawn

diffstat:

 sys/kern/init_sysent.c                    |  10 +++++-----
 sys/kern/syscalls.c                       |   8 ++++----
 sys/rump/include/rump/rump_syscalls.h     |   4 ++--
 sys/rump/librump/rumpkern/rump_syscalls.c |   8 ++++----
 sys/sys/syscall.h                         |   9 ++++++---
 sys/sys/syscallargs.h                     |  16 ++++++++++++++--
 6 files changed, 35 insertions(+), 20 deletions(-)

diffs (175 lines):

diff -r 288ed9328025 -r f02a65f51f9b sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c    Sat Feb 11 23:16:15 2012 +0000
+++ b/sys/kern/init_sysent.c    Sat Feb 11 23:18:13 2012 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: init_sysent.c,v 1.260 2012/02/01 05:42:17 dholland Exp $ */
+/* $NetBSD: init_sysent.c,v 1.261 2012/02/11 23:18:13 martin Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.253 2012/02/01 05:34:41 dholland Exp
+ * created from        NetBSD: syscalls.master,v 1.254 2012/02/11 23:16:17 martin Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.260 2012/02/01 05:42:17 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.261 2012/02/11 23:18:13 martin Exp $");
 
 #include "opt_modular.h"
 #include "opt_ntp.h"
@@ -1140,8 +1140,8 @@
            (sy_call_t *)sys_futimens },        /* 472 = futimens */
        { ns(struct sys___quotactl_args), 0,
            (sy_call_t *)sys___quotactl },      /* 473 = __quotactl */
-       { 0, 0, 0,
-           sys_nosys },                        /* 474 = filler */
+       { ns(struct sys_posix_spawn_args), 0,
+           (sy_call_t *)sys_posix_spawn },     /* 474 = posix_spawn */
        { 0, 0, 0,
            sys_nosys },                        /* 475 = filler */
        { 0, 0, 0,
diff -r 288ed9328025 -r f02a65f51f9b sys/kern/syscalls.c
--- a/sys/kern/syscalls.c       Sat Feb 11 23:16:15 2012 +0000
+++ b/sys/kern/syscalls.c       Sat Feb 11 23:18:13 2012 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: syscalls.c,v 1.251 2012/02/01 05:42:18 dholland Exp $ */
+/* $NetBSD: syscalls.c,v 1.252 2012/02/11 23:18:13 martin Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.253 2012/02/01 05:34:41 dholland Exp
+ * created from        NetBSD: syscalls.master,v 1.254 2012/02/11 23:16:17 martin Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.251 2012/02/01 05:42:18 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.252 2012/02/11 23:18:13 martin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_modular.h"
@@ -563,7 +563,7 @@
        /* 471 */       "unlinkat",
        /* 472 */       "futimens",
        /* 473 */       "__quotactl",
-       /* 474 */       "# filler",
+       /* 474 */       "posix_spawn",
        /* 475 */       "# filler",
        /* 476 */       "# filler",
        /* 477 */       "# filler",
diff -r 288ed9328025 -r f02a65f51f9b sys/rump/include/rump/rump_syscalls.h
--- a/sys/rump/include/rump/rump_syscalls.h     Sat Feb 11 23:16:15 2012 +0000
+++ b/sys/rump/include/rump/rump_syscalls.h     Sat Feb 11 23:18:13 2012 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_syscalls.h,v 1.54 2012/02/01 05:42:18 dholland Exp $ */
+/* $NetBSD: rump_syscalls.h,v 1.55 2012/02/11 23:18:13 martin Exp $ */
 
 /*
  * System call protos in rump namespace.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.253 2012/02/01 05:34:41 dholland Exp
+ * created from        NetBSD: syscalls.master,v 1.254 2012/02/11 23:16:17 martin Exp
  */
 
 #ifndef _RUMP_RUMP_SYSCALLS_H_
diff -r 288ed9328025 -r f02a65f51f9b sys/rump/librump/rumpkern/rump_syscalls.c
--- a/sys/rump/librump/rumpkern/rump_syscalls.c Sat Feb 11 23:16:15 2012 +0000
+++ b/sys/rump/librump/rumpkern/rump_syscalls.c Sat Feb 11 23:18:13 2012 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: rump_syscalls.c,v 1.76 2012/02/01 05:42:18 dholland Exp $ */
+/* $NetBSD: rump_syscalls.c,v 1.77 2012/02/11 23:18:14 martin Exp $ */
 
 /*
  * System call vector and marshalling for rump.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.253 2012/02/01 05:34:41 dholland Exp
+ * created from        NetBSD: syscalls.master,v 1.254 2012/02/11 23:16:17 martin Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.76 2012/02/01 05:42:18 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.77 2012/02/11 23:18:14 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/fstypes.h>
@@ -5592,7 +5592,7 @@
        { ns(struct sys___quotactl_args), 0,
            (sy_call_t *)sys___quotactl },      /* 473 = __quotactl */
        { 0, 0, SYCALL_NOSYS,
-           (sy_call_t *)rump_enosys },         /* 474 = filler */
+           (sy_call_t *)rump_enosys },         /* 474 = posix_spawn */
        { 0, 0, SYCALL_NOSYS,
            (sy_call_t *)rump_enosys },         /* 475 = filler */
        { 0, 0, SYCALL_NOSYS,
diff -r 288ed9328025 -r f02a65f51f9b sys/sys/syscall.h
--- a/sys/sys/syscall.h Sat Feb 11 23:16:15 2012 +0000
+++ b/sys/sys/syscall.h Sat Feb 11 23:18:13 2012 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: syscall.h,v 1.247 2012/02/01 05:42:18 dholland Exp $ */
+/* $NetBSD: syscall.h,v 1.248 2012/02/11 23:18:14 martin Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.253 2012/02/01 05:34:41 dholland Exp
+ * created from        NetBSD: syscalls.master,v 1.254 2012/02/11 23:16:17 martin Exp
  */
 
 #ifndef _SYS_SYSCALL_H_
@@ -1343,6 +1343,9 @@
 /* syscall: "__quotactl" ret: "int" args: "const char *" "struct quotactl_args *" */
 #define        SYS___quotactl  473
 
-#define        SYS_MAXSYSCALL  474
+/* syscall: "posix_spawn" ret: "int" args: "pid_t *" "const char *" "const struct posix_spawn_file_actions *" "const struct posix_spawnattr *" "char *const *" "char *const *" */
+#define        SYS_posix_spawn 474
+
+#define        SYS_MAXSYSCALL  475
 #define        SYS_NSYSENT     512
 #endif /* _SYS_SYSCALL_H_ */
diff -r 288ed9328025 -r f02a65f51f9b sys/sys/syscallargs.h
--- a/sys/sys/syscallargs.h     Sat Feb 11 23:16:15 2012 +0000
+++ b/sys/sys/syscallargs.h     Sat Feb 11 23:18:13 2012 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: syscallargs.h,v 1.230 2012/02/01 05:42:18 dholland Exp $ */
+/* $NetBSD: syscallargs.h,v 1.231 2012/02/11 23:18:14 martin Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.253 2012/02/01 05:34:41 dholland Exp
+ * created from        NetBSD: syscalls.master,v 1.254 2012/02/11 23:16:17 martin Exp
  */
 
 #ifndef _SYS_SYSCALLARGS_H_
@@ -2688,6 +2688,16 @@
 };
 check_syscall_args(sys___quotactl)
 
+struct sys_posix_spawn_args {
+       syscallarg(pid_t *) pid;
+       syscallarg(const char *) path;
+       syscallarg(const struct posix_spawn_file_actions *) file_actions;
+       syscallarg(const struct posix_spawnattr *) attrp;
+       syscallarg(char *const *) argv;
+       syscallarg(char *const *) envp;
+};
+check_syscall_args(sys_posix_spawn)
+
 /*
  * System call prototypes.
  */
@@ -3570,4 +3580,6 @@
 
 int    sys___quotactl(struct lwp *, const struct sys___quotactl_args *, register_t *);
 
+int    sys_posix_spawn(struct lwp *, const struct sys_posix_spawn_args *, register_t *);
+
 #endif /* _SYS_SYSCALLARGS_H_ */



Home | Main Index | Thread Index | Old Index