genode/repos/libports/include
Norman Feske cd92b32622 libc: close all open FDs on exit
This is important to issue sync requests for written-to files.

As the closing must be performed by an atexit handler, it happens at a
time _after_ libc plugins are destructed. Consequently an FD allocated
by such a plugin results in a close error, which in turn, does not
destruct the FD. We ultimatedly end up in an infinte loop of
re-attempting the close. For this reason, the patch changes 'close' to
be robust against this special case.

This is generally not a problem because libc plugins are phased out.
However, at present, the libc_noux plugin is still important. With the
changed 'close' in place, there occurred an error message "Error: close:
close not implemented" at the exit of each noux program. This patch
removes the error printing from the libc plugin mechansim to avoid this
noise. The error messages are not important anyway because the
deprecation of the libc plugin interface.

Issue #3578
2019-12-19 17:00:48 +01:00
..
acpica acpica: generate report usable by platform_drv 2018-05-30 13:36:21 +02:00
ada ada: replace local runtime implementation with port 2018-11-27 11:36:36 +01:00
EGL EGL api library 2018-03-27 13:44:27 +02:00
fatfs Update FatFS port to version 0.13 2017-08-17 11:04:22 +02:00
freetype-genode Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
fribidi Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
gcc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
gmp Move GMP spec directories to standard locations 2018-11-27 11:38:13 +01:00
jpeg Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
libc libc: split task.cc into multiple files 2019-11-19 14:10:55 +01:00
libc-genode libc: support syscall(SYS_thr_self,...) 2018-05-30 13:36:07 +02:00
libc-plugin libc: close all open FDs on exit 2019-12-19 17:00:48 +01:00
lwip lwip: prevent pointer-compare compilation warnings 2019-11-19 14:54:13 +01:00
ncurses libports: migrate to new ports mechanism 2014-05-27 11:14:42 +02:00
pcg-c port of PCG random number generator library 2017-08-28 16:49:51 +02:00
python Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
qemu Remove residual uses of deprecated APIs 2019-02-19 11:12:12 +01:00
qt5 qt5: rework keyboard handling 2019-11-19 14:23:54 +01:00
readline Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
solo5 Native Solo5 bindings 2018-11-16 15:07:52 +01:00
spec libports: update gmp from 4.3.2 to 6.1.2 2019-11-19 14:45:39 +01:00
stdcxx stdcxx: update to version 8.3.0 2019-05-27 14:52:52 +02:00
x86emu Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00