summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-09-14 02:23:46 +0000
committerpeter <peter@FreeBSD.org>1997-09-14 02:23:46 +0000
commit75f4997c44a8eefed0748f7ab39718b28c2953dd (patch)
tree0d2f5634fb2080e998c779c6ea8330c43748a640
parent639925b1c485dae967a3e09bffccd2e49b76a02d (diff)
downloadFreeBSD-src-75f4997c44a8eefed0748f7ab39718b28c2953dd.zip
FreeBSD-src-75f4997c44a8eefed0748f7ab39718b28c2953dd.tar.gz
Regenerate (added poll etc)
-rw-r--r--sys/kern/init_sysent.c6
-rw-r--r--sys/kern/syscalls.c6
-rw-r--r--sys/sys/syscall-hide.h4
-rw-r--r--sys/sys/syscall.h4
-rw-r--r--sys/sys/sysproto.h14
5 files changed, 25 insertions, 9 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index a21f93e..ff220b8 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.41 1997/08/19 05:53:48 peter Exp
+ * created from Id: syscalls.master,v 1.42 1997/09/14 02:22:05 peter Exp
*/
#include <sys/param.h>
@@ -241,7 +241,7 @@ struct sysent sysent[] = {
{ 1, (sy_call_t *)undelete }, /* 206 = undelete */
{ 1, (sy_call_t *)getpgid }, /* 207 = getpgid */
{ 0, (sy_call_t *)nosys }, /* 208 = newreboot */
- { 0, (sy_call_t *)nosys }, /* 209 = poll2 */
+ { 3, (sy_call_t *)poll }, /* 209 = poll */
{ 0, (sy_call_t *)lkmnosys }, /* 210 = lkmnosys */
{ 0, (sy_call_t *)lkmnosys }, /* 211 = lkmnosys */
{ 0, (sy_call_t *)lkmnosys }, /* 212 = lkmnosys */
@@ -284,7 +284,7 @@ struct sysent sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 249 = nosys */
{ 3, (sy_call_t *)minherit }, /* 250 = minherit */
{ 1, (sy_call_t *)rfork }, /* 251 = rfork */
- { 0, (sy_call_t *)nosys }, /* 252 = poll */
+ { 3, (sy_call_t *)openbsd_poll }, /* 252 = openbsd_poll */
{ 0, (sy_call_t *)issetugid }, /* 253 = issetugid */
{ 3, (sy_call_t *)lchown }, /* 254 = lchown */
{ 0, (sy_call_t *)nosys }, /* 255 = nosys */
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index ac95201..d6946a8 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.41 1997/08/19 05:53:48 peter Exp
+ * created from Id: syscalls.master,v 1.42 1997/09/14 02:22:05 peter Exp
*/
char *syscallnames[] = {
@@ -230,7 +230,7 @@ char *syscallnames[] = {
"undelete", /* 206 = undelete */
"getpgid", /* 207 = getpgid */
"#208", /* 208 = newreboot */
- "#209", /* 209 = poll2 */
+ "poll", /* 209 = poll */
"lkmnosys", /* 210 = lkmnosys */
"lkmnosys", /* 211 = lkmnosys */
"lkmnosys", /* 212 = lkmnosys */
@@ -273,7 +273,7 @@ char *syscallnames[] = {
"#249", /* 249 = nosys */
"minherit", /* 250 = minherit */
"rfork", /* 251 = rfork */
- "#252", /* 252 = poll */
+ "openbsd_poll", /* 252 = openbsd_poll */
"issetugid", /* 253 = issetugid */
"lchown", /* 254 = lchown */
"#255", /* 255 = nosys */
diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h
index 45eeca9..e023d2c 100644
--- a/sys/sys/syscall-hide.h
+++ b/sys/sys/syscall-hide.h
@@ -2,7 +2,7 @@
* System call hiders.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.41 1997/08/19 05:53:48 peter Exp
+ * created from Id: syscalls.master,v 1.42 1997/09/14 02:22:05 peter Exp
*/
HIDE_POSIX(fork)
@@ -199,6 +199,7 @@ HIDE_BSD(munlock)
HIDE_BSD(utrace)
HIDE_BSD(undelete)
HIDE_BSD(getpgid)
+HIDE_BSD(poll)
HIDE_BSD(__semctl)
HIDE_BSD(semget)
HIDE_BSD(semop)
@@ -217,6 +218,7 @@ HIDE_POSIX(clock_getres)
HIDE_POSIX(nanosleep)
HIDE_BSD(minherit)
HIDE_BSD(rfork)
+HIDE_BSD(openbsd_poll)
HIDE_BSD(issetugid)
HIDE_BSD(lchown)
HIDE_BSD(modnext)
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index a05dd6b..fdf4f8d 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.41 1997/08/19 05:53:48 peter Exp
+ * created from Id: syscalls.master,v 1.42 1997/09/14 02:22:05 peter Exp
*/
#define SYS_syscall 0
@@ -193,6 +193,7 @@
#define SYS_utrace 205
#define SYS_undelete 206
#define SYS_getpgid 207
+#define SYS_poll 209
#define SYS___semctl 220
#define SYS_semget 221
#define SYS_semop 222
@@ -211,6 +212,7 @@
#define SYS_nanosleep 240
#define SYS_minherit 250
#define SYS_rfork 251
+#define SYS_openbsd_poll 252
#define SYS_issetugid 253
#define SYS_lchown 254
#define SYS_modnext 300
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index 4426e41..1111fbf 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -2,7 +2,7 @@
* System call prototypes.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from Id: syscalls.master,v 1.41 1997/08/19 05:53:48 peter Exp
+ * created from Id: syscalls.master,v 1.42 1997/09/14 02:22:05 peter Exp
*/
#ifndef _SYS_SYSPROTO_H_
@@ -661,6 +661,11 @@ struct undelete_args {
struct getpgid_args {
pid_t pid;
};
+struct poll_args {
+ struct pollfd * fds;
+ u_int nfds;
+ int timeout;
+};
struct __semctl_args {
int semid;
int semnum;
@@ -744,6 +749,11 @@ struct minherit_args {
struct rfork_args {
int flags;
};
+struct openbsd_poll_args {
+ struct pollfd * fds;
+ u_int nfds;
+ int timeout;
+};
struct issetugid_args {
int dummy;
};
@@ -990,6 +1000,7 @@ int munlock __P((struct proc *, struct munlock_args *, int []));
int utrace __P((struct proc *, struct utrace_args *, int []));
int undelete __P((struct proc *, struct undelete_args *, int []));
int getpgid __P((struct proc *, struct getpgid_args *, int []));
+int poll __P((struct proc *, struct poll_args *, int []));
int lkmnosys __P((struct proc *, struct nosys_args *, int []));
int __semctl __P((struct proc *, struct __semctl_args *, int []));
int semget __P((struct proc *, struct semget_args *, int []));
@@ -1009,6 +1020,7 @@ int clock_getres __P((struct proc *, struct clock_getres_args *, int []));
int nanosleep __P((struct proc *, struct nanosleep_args *, int []));
int minherit __P((struct proc *, struct minherit_args *, int []));
int rfork __P((struct proc *, struct rfork_args *, int []));
+int openbsd_poll __P((struct proc *, struct openbsd_poll_args *, int []));
int issetugid __P((struct proc *, struct issetugid_args *, int []));
int lchown __P((struct proc *, struct lchown_args *, int []));
int modnext __P((struct proc *, struct modnext_args *, int []));
OpenPOWER on IntegriCloud