diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-11 03:50:35 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-11 18:20:09 +0100 |
commit | 08cd15525450ff2c2ac814a58930f6d82284a1ba (patch) | |
tree | 888342a2d0e5bc2474d13d1dd08a9d0bb92cef4a /TODO | |
parent | e599ba01f564161966b3b8c93cc229daf847e807 (diff) |
event: when handling SIGCHLD of a child process only reap after dispatching event source
That way the even source callback is run with the zombie process still
around so that it can access /proc/$PID/ and similar, and so that it can
be sure that the PID has not been reused yet.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -45,9 +45,11 @@ Features: - add field to transient units that indicate whether systemd or somebody else saves/restores its settings, for integration with libvirt - ensure scope units may be started only a single time -* switch to SipHash for hashmaps/sets? +* code cleanup + - get rid of readdir_r/dirent_storage stuff, it's unnecessary on Linux + - we probably should replace the left-over uses of strv_append() and replace them by strv_push() or strv_extend() -* general: get rid of readdir_r/dirent_storage stuff, it's unnecessary on Linux +* switch to SipHash for hashmaps/sets? * when we detect low battery and no AC on boot, show pretty splash and refuse boot @@ -71,8 +73,6 @@ Features: * Add a new Distribute=$NUMBER key to socket units that makes use of SO_REUSEPORT to distribute network traffic on $NUMBER instances -* we probably should replace the left-over uses of strv_append() and replace them by strv_push() or strv_extend() - * move config_parse_path_strv() out of conf-parser.c * After coming back from hibernation reset hibernation swap partition using the /dev/snapshot ioctl APIs @@ -137,7 +137,6 @@ Features: but do not return anything up to the event loop caller. Instead add parameter to sd_event_request_quit() to take retval. This way errors rippling upwards are the option, not the default - - child pid handling: first invoke waitid(WNOHANG) and call event handler, only afterwards reap the process - native support for watchdog stuff * in the final killing spree, detect processes from the root directory, and |