freebsd-skq/lib/libc
Ed Schouten 2433a4eb04 Make it possible to implement poll(2) on top of kqueue(2).
It looks like EVFILT_READ and EVFILT_WRITE trigger under the same
conditions as poll()'s POLLRDNORM and POLLWRNORM as described by POSIX.
The only difference is that POLLRDNORM has to be triggered on regular
files unconditionally, whereas EVFILT_READ only triggers when not EOF.

Introduce a new flag, NOTE_FILE_POLL, that can be used to make
EVFILT_READ and EVFILT_WRITE behave identically to poll(). This flag
will be used by cloudlibc's poll() function.

Reviewed by:	jmg
Differential Revision:	https://reviews.freebsd.org/D3303
2015-08-05 07:34:29 +00:00
..
aarch64 Add support for makecontext. This supports up to 8 arguments as this 2015-07-10 08:36:22 +00:00
amd64 Copy the fencing of the algorithm to do lock-less update and reading 2015-08-04 12:33:51 +00:00
arm Export the ARM __aeabi_mem* functions from libc, they are needed by the gcc 2015-06-16 16:40:25 +00:00
capability use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
compat-43 Reduce the size of the interposing table and amount of 2015-01-11 22:16:31 +00:00
db Drop some unnecessary casts. 2015-05-18 16:28:13 +00:00
gdtoa Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
gen Add missing priority argument in example code in BUGS section. 2015-07-21 09:44:45 +00:00
gmon Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
i386 Copy the fencing of the algorithm to do lock-less update and reading 2015-08-04 12:33:51 +00:00
iconv Fix improbable memory leak in _citrus_prop_read_str(). 2015-04-20 22:09:50 +00:00
include Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
inet Update our stub resolver to final version of libbind. 2014-08-12 12:36:06 +00:00
isc Update our stub resolver to final version of libbind. 2014-08-12 12:36:06 +00:00
locale __xlocale_C_ctype should not be const. It contains a reference count that is modified by newlocale / duplocale / freelocale. 2015-04-24 10:21:20 +00:00
md Bring the md5 functions into libc for internal use only. 2014-08-12 12:25:56 +00:00
mips Removed unused special fork() implementations. 2015-05-29 19:42:55 +00:00
nameser Add missing break. 2014-08-20 14:58:25 +00:00
net Fix name of a constant. 2015-06-14 20:16:36 +00:00
nls Use mdoc(7) macros to handle parenthesis 2015-04-26 10:54:52 +00:00
posix1e Update Capsicum and Mandatory Access Control manual pages 2015-07-25 15:56:49 +00:00
powerpc The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
powerpc64 The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
quad Remove MK_ARM_EABI, the armeb issues have been fixed. The code to support 2014-10-01 08:26:51 +00:00
regex mdoc: rendering fixes 2015-04-26 10:55:39 +00:00
resolv Add support for '_' occurring at the beginning or end of a name 2015-06-10 16:15:22 +00:00
rpc mdoc: fix functions declarations 2015-04-26 10:53:50 +00:00
softfloat Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
sparc64 The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
stdio Fix a couple of markup typos. 2015-08-02 02:00:20 +00:00
stdlib Document the fact that system(3) can easily be misused due to shell meta 2015-07-25 00:21:29 +00:00
stdtime 1) Fix the case we have less arguments for format string than we expected. 2014-10-07 06:34:05 +00:00
string strchr(3): Mdoc fixes. 2015-06-04 21:54:46 +00:00
sys Make it possible to implement poll(2) on top of kqueue(2). 2015-08-05 07:34:29 +00:00
tests Add support for makecontext. This supports up to 8 arguments as this 2015-07-10 08:36:22 +00:00
uuid Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
xdr Use proper prototype for harmless(). 2015-05-31 19:09:24 +00:00
yp Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
libc.ldscript Attempt to move the POSIX iconv* symbols out of runtime linker space. 2013-11-17 22:52:17 +00:00
Makefile Revert r284417 it is not necessary anymore 2015-06-15 19:28:07 +00:00
Makefile.depend new depends 2015-06-16 23:37:19 +00:00
Versions.def Fix the inheritance of the FBSDprivate_1.0 namespace. 2014-04-03 17:31:38 +00:00