freebsd-dev/lib/libc
Konstantin Belousov b072e86d09 Make kevent(2) a cancellation point.
Note that to cancel blocked kevent(2) call, changelist must be empty,
since we cannot cancel a call which already made changes to the
process state.  And in reverse, call which only makes changes to the
kqueue state, without waiting for an event, is not cancellable.  This
makes a natural usage model to migrate kqueue loop to support
cancellation, where existing single kevent(2) call must be split into
two: first uncancellable update of kqueue, then cancellable wait for
events.

Note that this is ABI-incompatible change, but it is believed that
there is no cancel-safe code that relies on kevent(2) not being a
cancellation point.  Option to preserve the ABI would be to keep
kevent(2) as is, but add new call with flags to specify cancellation
behaviour, which only value seems to add complications.

Suggested and reviewed by:	jilles
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2015-03-29 19:14:41 +00:00
..
aarch64 Start to import support for the AArch64 architecture from ARM. This change 2015-03-19 13:53:47 +00:00
amd64 siglongjmp(): Preserve floating point exception flags on i386 and amd64. 2014-06-09 21:35:36 +00:00
arm Remove duplicate copies of trivial getcontextx.c 2015-01-12 18:13:38 +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 dbm_delete(3) correct man page to match current behaviour. 2015-02-20 01:31:10 +00:00
gdtoa Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
gen setmode(): Use sysctl kern.proc.umask instead of umask() if possible. 2015-03-26 21:58:06 +00:00
gmon Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
i386 siglongjmp(): Preserve floating point exception flags on i386 and amd64. 2014-06-09 21:35:36 +00:00
iconv Avoid lookup of CODESET aliases using uninitialized path 2015-02-28 20:30:25 +00:00
include Make kevent(2) a cancellation point. 2015-03-29 19:14:41 +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 mdoc: improvements to SEE ALSO. 2014-12-27 08:31:52 +00:00
md Bring the md5 functions into libc for internal use only. 2014-08-12 12:25:56 +00:00
mips Use zero register instead of immediate 0x0 in MIPS assembly 2015-01-29 15:30:04 +00:00
nameser Add missing break. 2014-08-20 14:58:25 +00:00
net Add an SCTP symbol which was missed in 2015-03-28 09:08:57 +00:00
nls When catopen(3) returns an error, it caches the result of that error 2015-02-10 20:45:40 +00:00
posix1e libc: plug memory leaks in edge cases for the posix1e code. 2015-03-13 18:42:43 +00:00
powerpc Save and restore non-volatile floating-point registers during longjmp(). 2015-03-08 19:37:08 +00:00
powerpc64 Save and restore non-volatile floating-point registers during longjmp(). 2015-03-08 19:37:08 +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 Prevent NULL pointer de-reference. 2015-02-21 15:02:27 +00:00
resolv Update our stub resolver to final version of libbind. 2014-08-12 12:36:06 +00:00
rpc libc: clean some set-but-not-used errors. 2015-02-18 03:33:17 +00:00
softfloat Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
sparc64 Unbreak sparc64 after r276630 by calling __sparc_sigtramp_setup signal 2015-02-16 22:13:03 +00:00
stdio libc: clean some set-but-not-used errors. 2015-02-18 03:33:17 +00:00
stdlib qsort(3): small style(9) cleanups. 2015-03-05 17:17:11 +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 Various mdoc fixes and a few EOL whitespace removals. 2014-12-21 12:36:36 +00:00
sys Make kevent(2) a cancellation point. 2015-03-29 19:14:41 +00:00
tests Enable utimensat tests from NetBSD. 2015-01-24 15:49:40 +00:00
uuid Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
xdr Remove ia64. 2014-07-07 00:27:09 +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 Add a ${CP} alias for copying files in the build. 2015-01-16 21:39:08 +00:00
Makefile.amd64 Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds approximately 2014-11-04 00:56:25 +00:00
Makefile.i386 Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds approximately 2014-11-04 00:56:25 +00:00
Versions.def Fix the inheritance of the FBSDprivate_1.0 namespace. 2014-04-03 17:31:38 +00:00