This commit is contained in:
christos 2012-06-22 18:27:25 +00:00
parent 7bee3146e4
commit e77423410d
4 changed files with 44 additions and 17 deletions

View File

@ -1,14 +1,14 @@
/* $NetBSD: init_sysent.c,v 1.265 2012/05/05 19:49:13 christos Exp $ */
/* $NetBSD: init_sysent.c,v 1.266 2012/06/22 18:27:25 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.259 2012/05/05 19:37:37 christos Exp
* created from NetBSD: syscalls.master,v 1.260 2012/06/22 18:26:35 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.265 2012/05/05 19:49:13 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.266 2012/06/22 18:27:25 christos Exp $");
#include "opt_modular.h"
#include "opt_ntp.h"
@ -1148,10 +1148,10 @@ struct sysent sysent[] = {
(sy_call_t *)sys___quotactl }, /* 473 = __quotactl */
{ 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,
sys_nosys }, /* 476 = filler */
{ ns(struct sys_recvmmsg_args), 0,
(sy_call_t *)sys_recvmmsg }, /* 475 = recvmmsg */
{ ns(struct sys_sendmmsg_args), 0,
(sy_call_t *)sys_sendmmsg }, /* 476 = sendmmsg */
{ 0, 0, 0,
sys_nosys }, /* 477 = filler */
{ 0, 0, 0,

View File

@ -1,14 +1,14 @@
/* $NetBSD: syscalls.c,v 1.256 2012/05/05 19:49:13 christos Exp $ */
/* $NetBSD: syscalls.c,v 1.257 2012/06/22 18:27:25 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.259 2012/05/05 19:37:37 christos Exp
* created from NetBSD: syscalls.master,v 1.260 2012/06/22 18:26:35 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.256 2012/05/05 19:49:13 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.257 2012/06/22 18:27:25 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_modular.h"
@ -564,8 +564,8 @@ const char *const syscallnames[] = {
/* 472 */ "futimens",
/* 473 */ "__quotactl",
/* 474 */ "posix_spawn",
/* 475 */ "# filler",
/* 476 */ "# filler",
/* 475 */ "recvmmsg",
/* 476 */ "sendmmsg",
/* 477 */ "# filler",
/* 478 */ "# filler",
/* 479 */ "# filler",

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.252 2012/05/05 19:49:13 christos Exp $ */
/* $NetBSD: syscall.h,v 1.253 2012/06/22 18:27:25 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.259 2012/05/05 19:37:37 christos Exp
* created from NetBSD: syscalls.master,v 1.260 2012/06/22 18:26:35 christos Exp
*/
#ifndef _SYS_SYSCALL_H_
@ -1352,6 +1352,12 @@
/* 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
/* syscall: "recvmmsg" ret: "int" args: "int" "struct mmsghdr *" "unsigned int" "unsigned int" "struct timespec *" */
#define SYS_recvmmsg 475
/* syscall: "sendmmsg" ret: "int" args: "int" "struct mmsghdr *" "unsigned int" "unsigned int" */
#define SYS_sendmmsg 476
#define SYS_MAXSYSCALL 477
#define SYS_NSYSENT 512
#endif /* _SYS_SYSCALL_H_ */

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.235 2012/05/05 19:49:13 christos Exp $ */
/* $NetBSD: syscallargs.h,v 1.236 2012/06/22 18:27:25 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.259 2012/05/05 19:37:37 christos Exp
* created from NetBSD: syscalls.master,v 1.260 2012/06/22 18:26:35 christos Exp
*/
#ifndef _SYS_SYSCALLARGS_H_
@ -2715,6 +2715,23 @@ struct sys_posix_spawn_args {
};
check_syscall_args(sys_posix_spawn)
struct sys_recvmmsg_args {
syscallarg(int) s;
syscallarg(struct mmsghdr *) mmsg;
syscallarg(unsigned int) vlen;
syscallarg(unsigned int) flags;
syscallarg(struct timespec *) timeout;
};
check_syscall_args(sys_recvmmsg)
struct sys_sendmmsg_args {
syscallarg(int) s;
syscallarg(struct mmsghdr *) mmsg;
syscallarg(unsigned int) vlen;
syscallarg(unsigned int) flags;
};
check_syscall_args(sys_sendmmsg)
/*
* System call prototypes.
*/
@ -3603,4 +3620,8 @@ 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 *);
int sys_recvmmsg(struct lwp *, const struct sys_recvmmsg_args *, register_t *);
int sys_sendmmsg(struct lwp *, const struct sys_sendmmsg_args *, register_t *);
#endif /* _SYS_SYSCALLARGS_H_ */