summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/epoll.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix __libc_epoll_pwait compile failure on x86Phil Blundell2011-12-231-2/+3
| | | | | | | | | | | | | | | This prevents "memory input 7 is not directly addressable" errors. | libc/sysdeps/linux/common/epoll.c: In function '__libc_epoll_pwait': | libc/sysdeps/linux/common/epoll.c:71:80: error: memory input 7 is not directly addressable | libc/sysdeps/linux/common/epoll.c:75:86: error: memory input 7 is not directly addressable | make: *** [libc/sysdeps/linux/common/epoll.o] Error 1 | make: *** Waiting for unfinished jobs.... Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Jason Woodward <jason.woodward@timesys.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 8245f3b4638fdff2011c2657af1bb211def704bc)
* epoll: redo cancellation to match masterBernhard Reutner-Fischer2011-05-131-15/+32
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* epoll.c: add cancellation to epoll_[p]wait()Peter S. Mazinger2011-05-131-4/+21
| | | | | | | While there, fix epoll_pwait syscall, it takes 6 arguments Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Implement epoll_create1 and epoll_pwait system calls.Thierry Reding2011-05-111-0/+16
| | | | | | | Note: TODO: This lacks cancellation support. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* unify stub logicMike Frysinger2011-02-241-18/+0
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* - remove superfluous ';'. No objcode changes.Bernhard Reutner-Fischer2008-10-221-3/+3
|
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-081-1/+1
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* simplify epoll codeMike Frysinger2006-02-221-24/+9
|
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-2/+2
|
* Justin Cormack <justin@street-vision.com> writes:Mike Frysinger2005-01-061-0/+65
Here is a small patch to add epoll support to uclibc. The only thing I am not sure about is what needs to be done (if anything) to make it work on 2.4/2.2 kernels (are the syscall numbers defined but give errors when called or not?). Tested on 2.6, though some other issues prevent more extensive testing at the minute. Mike Frysinger: cleaned up patch and added checks to make sure that the syscall actually exists, returning ENOSYS in cases where it doesn't.