diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2012-06-19 11:31:40 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2012-06-19 11:31:40 +0000 |
commit | 7f1b00c39cd9fd36482859cafb1edae03fc035a9 (patch) | |
tree | 9f1d19d93c97a93025b7f5ac0ebe48090584985a /sys/compat | |
parent | 11a4761d13cb89f1003c70e15b8efff3db92fe3f (diff) |
Add dummies for the epoll and eventfd syscall families.
Okay jasper@
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_dummy.c | 10 | ||||
-rw-r--r-- | sys/compat/linux/syscalls.master | 16 |
2 files changed, 17 insertions, 9 deletions
diff --git a/sys/compat/linux/linux_dummy.c b/sys/compat/linux/linux_dummy.c index 983e76fceb2..268e9718b55 100644 --- a/sys/compat/linux/linux_dummy.c +++ b/sys/compat/linux/linux_dummy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_dummy.c,v 1.19 2011/12/14 08:33:18 robert Exp $ */ +/* $OpenBSD: linux_dummy.c,v 1.20 2012/06/19 11:31:39 pirofti Exp $ */ /*- * Copyright (c) 1994-1995 Søren Schmidt @@ -112,6 +112,14 @@ DUMMY(setfsgid); /* #216 */ DUMMY(pivot_root); /* #217 */ DUMMY(mincore); /* #218 */ DUMMY(fadvise64); /* #250 */ +DUMMY(epoll_create); /* #254 */ +DUMMY(epoll_ctl); /* #255 */ +DUMMY(epoll_wait); /* #256 */ +DUMMY(epoll_pwait); /* #319 */ +DUMMY(eventfd); /* #323 */ +DUMMY(eventfd2); /* #328 */ +DUMMY(epoll_create1); /* #329 */ + #define DUMMY_XATTR(s) \ int \ diff --git a/sys/compat/linux/syscalls.master b/sys/compat/linux/syscalls.master index cab542c68df..9e190a7d365 100644 --- a/sys/compat/linux/syscalls.master +++ b/sys/compat/linux/syscalls.master @@ -1,4 +1,4 @@ - $OpenBSD: syscalls.master,v 1.69 2012/06/08 14:28:23 pirofti Exp $ + $OpenBSD: syscalls.master,v 1.70 2012/06/19 11:31:39 pirofti Exp $ ; $NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp $ ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 @@ -400,9 +400,9 @@ 251 UNIMPL 252 NOARGS linux_exit_group { int sys_exit(int rval); } 253 UNIMPL linux_sys_lookup_dcookie -254 UNIMPL linux_sys_epoll_create -255 UNIMPL linux_sys_epoll_ctl -256 UNIMPL linux_sys_epoll_wait +254 NOARGS { int linux_sys_epoll_create(void); } +255 NOARGS { int linux_sys_epoll_ctl(void); } +256 NOARGS { int linux_sys_epoll_wait(void); } 257 UNIMPL linux_sys_remap_file_pages 258 STD { int linux_sys_set_tid_address(void *tidptr); } 259 UNIMPL linux_sys_timer_create @@ -472,17 +472,17 @@ 316 UNIMPL vmsplice 317 UNIMPL move_pages 318 UNIMPL getcpu -319 UNIMPL epoll_wait +319 NOARGS { int linux_sys_epoll_pwait(void); } 320 UNIMPL utimensat 321 UNIMPL signalfd 322 UNIMPL timerfd_create -323 UNIMPL eventfd +323 NOARGS { int linux_sys_eventfd(void); } 324 UNIMPL fallocate 325 UNIMPL timerfd_settime 326 UNIMPL timerfd_gettime 327 UNIMPL signalfd4 -328 UNIMPL eventfd2 -329 UNIMPL epoll_create1 +328 NOARGS { int linux_sys_eventfd2(void); } +329 NOARGS { int linux_sys_epoll_create1(void); } 330 UNIMPL dup3 331 STD { int linux_sys_pipe2(int *fdp, int flags); } 332 UNIMPL inotify_init1 |