Module Name: src Committed By: martin Date: Sat Feb 11 23:18:14 UTC 2012
Modified Files: src/sys/kern: init_sysent.c syscalls.c src/sys/rump/include/rump: rump_syscalls.h src/sys/rump/librump/rumpkern: rump_syscalls.c src/sys/sys: syscall.h syscallargs.h Log Message: Regen for posix_spawn To generate a diff of this commit: cvs rdiff -u -r1.260 -r1.261 src/sys/kern/init_sysent.c cvs rdiff -u -r1.251 -r1.252 src/sys/kern/syscalls.c cvs rdiff -u -r1.54 -r1.55 src/sys/rump/include/rump/rump_syscalls.h cvs rdiff -u -r1.76 -r1.77 src/sys/rump/librump/rumpkern/rump_syscalls.c cvs rdiff -u -r1.247 -r1.248 src/sys/sys/syscall.h cvs rdiff -u -r1.230 -r1.231 src/sys/sys/syscallargs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/init_sysent.c diff -u src/sys/kern/init_sysent.c:1.260 src/sys/kern/init_sysent.c:1.261 --- src/sys/kern/init_sysent.c:1.260 Wed Feb 1 05:42:17 2012 +++ src/sys/kern/init_sysent.c Sat Feb 11 23:18:13 2012 @@ -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 @@ struct sysent sysent[] = { (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, Index: src/sys/kern/syscalls.c diff -u src/sys/kern/syscalls.c:1.251 src/sys/kern/syscalls.c:1.252 --- src/sys/kern/syscalls.c:1.251 Wed Feb 1 05:42:18 2012 +++ src/sys/kern/syscalls.c Sat Feb 11 23:18:13 2012 @@ -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 @@ const char *const syscallnames[] = { /* 471 */ "unlinkat", /* 472 */ "futimens", /* 473 */ "__quotactl", - /* 474 */ "# filler", + /* 474 */ "posix_spawn", /* 475 */ "# filler", /* 476 */ "# filler", /* 477 */ "# filler", Index: src/sys/rump/include/rump/rump_syscalls.h diff -u src/sys/rump/include/rump/rump_syscalls.h:1.54 src/sys/rump/include/rump/rump_syscalls.h:1.55 --- src/sys/rump/include/rump/rump_syscalls.h:1.54 Wed Feb 1 05:42:18 2012 +++ src/sys/rump/include/rump/rump_syscalls.h Sat Feb 11 23:18:13 2012 @@ -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_ Index: src/sys/rump/librump/rumpkern/rump_syscalls.c diff -u src/sys/rump/librump/rumpkern/rump_syscalls.c:1.76 src/sys/rump/librump/rumpkern/rump_syscalls.c:1.77 --- src/sys/rump/librump/rumpkern/rump_syscalls.c:1.76 Wed Feb 1 05:42:18 2012 +++ src/sys/rump/librump/rumpkern/rump_syscalls.c Sat Feb 11 23:18:14 2012 @@ -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 @@ struct sysent rump_sysent[] = { { 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, Index: src/sys/sys/syscall.h diff -u src/sys/sys/syscall.h:1.247 src/sys/sys/syscall.h:1.248 --- src/sys/sys/syscall.h:1.247 Wed Feb 1 05:42:18 2012 +++ src/sys/sys/syscall.h Sat Feb 11 23:18:14 2012 @@ -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_ */ Index: src/sys/sys/syscallargs.h diff -u src/sys/sys/syscallargs.h:1.230 src/sys/sys/syscallargs.h:1.231 --- src/sys/sys/syscallargs.h:1.230 Wed Feb 1 05:42:18 2012 +++ src/sys/sys/syscallargs.h Sat Feb 11 23:18:14 2012 @@ -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 @@ struct sys___quotactl_args { }; 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_futimens(struct lwp *, const str 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_ */