diff options
| author | tron <tron@NetBSD.org> | 1999-03-30 07:29:05 +0000 |
|---|---|---|
| committer | tron <tron@NetBSD.org> | 1999-03-30 07:29:05 +0000 |
| commit | b46e8732dd50e589eb8ecce8fb5c43e15bcc90f3 (patch) | |
| tree | 0823d3dcbcb73d0b400c7bc307e2cfcf5935bfcb /sys/compat/linux | |
| parent | 3d29b3aabe917dd18781b92c05374c0842def7a0 (diff) | |
Add poll() emulation.
Diffstat (limited to 'sys/compat/linux')
| -rw-r--r-- | sys/compat/linux/arch/alpha/syscalls.master | 6 | ||||
| -rw-r--r-- | sys/compat/linux/arch/m68k/syscalls.master | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/compat/linux/arch/alpha/syscalls.master b/sys/compat/linux/arch/alpha/syscalls.master index ebafaaef09c..6ab5c5dc801 100644 --- a/sys/compat/linux/arch/alpha/syscalls.master +++ b/sys/compat/linux/arch/alpha/syscalls.master @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.8 1999/03/27 01:10:56 tron Exp $ + $NetBSD: syscalls.master,v 1.9 1999/03/30 07:34:49 tron Exp $ ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 @@ -56,6 +56,7 @@ #include "opt_compat_43.h" #include <sys/param.h> +#include <sys/poll.h> #include <sys/systm.h> #include <sys/signal.h> #include <sys/mount.h> @@ -182,7 +183,8 @@ 91 STD { int linux_sys_fstat(int fd, struct linux_stat *sp); } 92 STD { int linux_sys_fcntl(int fd, int cmd, void *arg); } 93 UNIMPL osf_select -94 UNIMPL poll +94 NOARGS { int sys_poll(struct pollfd *fds, u_int nfds, \ + int timeout); } 95 NOARGS { int sys_fsync(int fd); } 96 NOARGS { int sys_setpriority(int which, int who, int prio); } 97 STD { int linux_sys_socket(int domain, int type, \ diff --git a/sys/compat/linux/arch/m68k/syscalls.master b/sys/compat/linux/arch/m68k/syscalls.master index cf9347b264e..13951a8e6bc 100644 --- a/sys/compat/linux/arch/m68k/syscalls.master +++ b/sys/compat/linux/arch/m68k/syscalls.master @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.4 1999/03/27 01:10:57 tron Exp $ + $NetBSD: syscalls.master,v 1.5 1999/03/30 07:29:05 tron Exp $ ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 @@ -37,6 +37,7 @@ #include "opt_compat_43.h" #include <sys/param.h> +#include <sys/poll.h> #include <sys/systm.h> #include <sys/signal.h> #include <sys/mount.h> @@ -289,7 +290,8 @@ 165 UNIMPL getresuid 166 UNIMPL vm86 167 UNIMPL query_module -168 UNIMPL poll +168 NOARGS { int sys_poll(struct pollfd *fds, u_int nfds, \ + int timeout); } 169 UNIMPL nfsservctl 170 UNIMPL setresgid 171 UNIMPL setresgid |
