diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2013-04-29 17:08:09 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2013-04-29 17:08:09 +0000 |
commit | ccf967acb289ed9206cab562d81759ee78b30903 (patch) | |
tree | d89b507c85d18b24e09da4c53e82db4a47ab8adf /sys | |
parent | f906bc6b3feaa6746a37164ed4affdc64958e7eb (diff) |
regen
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/init_sysent.c | 12 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 8 | ||||
-rw-r--r-- | sys/sys/syscall.h | 12 | ||||
-rw-r--r-- | sys/sys/syscallargs.h | 22 |
4 files changed, 38 insertions, 16 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 1eec3112360..404c9dada33 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.141 2013/04/15 15:37:10 jsing Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.142 2013/04/29 17:08:08 matthew Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.129 2013/04/15 15:32:19 jsing Exp + * created from; OpenBSD: syscalls.master,v 1.130 2013/04/29 17:06:20 matthew Exp */ #include <sys/param.h> @@ -263,10 +263,10 @@ struct sysent sysent[] = { sys_nosys }, /* 107 = obsolete vtimes */ { 0, 0, 0, sys_nosys }, /* 108 = obsolete osigvec */ - { 0, 0, 0, - sys_nosys }, /* 109 = obsolete osigblock */ - { 0, 0, 0, - sys_nosys }, /* 110 = obsolete osigsetmask */ + { 4, s(struct sys_ppoll_args), 0, + sys_ppoll }, /* 109 = ppoll */ + { 6, s(struct sys_pselect_args), 0, + sys_pselect }, /* 110 = pselect */ { 1, s(struct sys_sigsuspend_args), 0, sys_sigsuspend }, /* 111 = sigsuspend */ { 0, 0, 0, diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 5ca15edfd84..0e5a9ddafff 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.142 2013/04/15 15:33:13 jsing Exp $ */ +/* $OpenBSD: syscalls.c,v 1.143 2013/04/29 17:08:08 matthew Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.129 2013/04/15 15:32:19 jsing Exp + * created from; OpenBSD: syscalls.master,v 1.130 2013/04/29 17:06:20 matthew Exp */ char *syscallnames[] = { @@ -129,8 +129,8 @@ char *syscallnames[] = { "listen", /* 106 = listen */ "#107 (obsolete vtimes)", /* 107 = obsolete vtimes */ "#108 (obsolete osigvec)", /* 108 = obsolete osigvec */ - "#109 (obsolete osigblock)", /* 109 = obsolete osigblock */ - "#110 (obsolete osigsetmask)", /* 110 = obsolete osigsetmask */ + "ppoll", /* 109 = ppoll */ + "pselect", /* 110 = pselect */ "sigsuspend", /* 111 = sigsuspend */ "#112 (obsolete osigstack)", /* 112 = obsolete osigstack */ "#113 (obsolete orecvmsg)", /* 113 = obsolete orecvmsg */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 6920b701d33..1e5e2178c12 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.141 2013/04/15 15:37:10 jsing Exp $ */ +/* $OpenBSD: syscall.h,v 1.142 2013/04/29 17:08:08 matthew Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.129 2013/04/15 15:32:19 jsing Exp + * created from; OpenBSD: syscalls.master,v 1.130 2013/04/29 17:06:20 matthew Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -280,8 +280,12 @@ /* 107 is obsolete vtimes */ /* 108 is obsolete osigvec */ - /* 109 is obsolete osigblock */ - /* 110 is obsolete osigsetmask */ +/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "const struct timespec *" "const sigset_t *" */ +#define SYS_ppoll 109 + +/* syscall: "pselect" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "const struct timespec *" "const sigset_t *" */ +#define SYS_pselect 110 + /* syscall: "sigsuspend" ret: "int" args: "int" */ #define SYS_sigsuspend 111 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 5992fea8027..88178eb0792 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.143 2013/04/15 15:37:10 jsing Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.144 2013/04/29 17:08:08 matthew Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.129 2013/04/15 15:32:19 jsing Exp + * created from; OpenBSD: syscalls.master,v 1.130 2013/04/29 17:06:20 matthew Exp */ #ifdef syscallarg @@ -401,6 +401,22 @@ struct sys_listen_args { syscallarg(int) backlog; }; +struct sys_ppoll_args { + syscallarg(struct pollfd *) fds; + syscallarg(u_int) nfds; + syscallarg(const struct timespec *) ts; + syscallarg(const sigset_t *) mask; +}; + +struct sys_pselect_args { + syscallarg(int) nd; + syscallarg(fd_set *) in; + syscallarg(fd_set *) ou; + syscallarg(fd_set *) ex; + syscallarg(const struct timespec *) ts; + syscallarg(const sigset_t *) mask; +}; + struct sys_sigsuspend_args { syscallarg(int) mask; }; @@ -1134,6 +1150,8 @@ int sys_sigreturn(struct proc *, void *, register_t *); int sys_bind(struct proc *, void *, register_t *); int sys_setsockopt(struct proc *, void *, register_t *); int sys_listen(struct proc *, void *, register_t *); +int sys_ppoll(struct proc *, void *, register_t *); +int sys_pselect(struct proc *, void *, register_t *); int sys_sigsuspend(struct proc *, void *, register_t *); int sys_gettimeofday(struct proc *, void *, register_t *); int sys_getrusage(struct proc *, void *, register_t *); |