Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-26 | killall: do not use alloca() in argument list | Zbigniew Jędrzejewski-Szmek | |
It is not allowed. | |||
2013-04-19 | core/killall: use procfs_file_alloca | Zbigniew Jędrzejewski-Szmek | |
2013-04-03 | core/killall.c: prevent segfault and initialize pids | Harald Hoyer | |
2013-04-02 | shutdown: correctly wait for processes we killed in the killall spree | Lennart Poettering | |
Previously we simply counted how many processes we killed and expected as many waitpid() calls to succeed. That however is incorrect to do. As we might kill processes that are not our immediate children, and as there might be left-over processes in the waitpid() queue from earlier the we might get more ore less waitpid() events that we expect. Hence: keep precise track of the processes we kill, remove the ones we get waitpid() for, and after each time we get SIGCHLD check if all others still exist. We use getpgid() to check if a PID still exists. This should fix issues with journald not setting journal files offline correctly on shutdown, because we'd too quickly proceed from SIGTERM to SIGKILL because some left-over process was in our waitpid() queue. | |||
2013-03-30 | killall: print notice what we forcefully KILL | Kay Sievers | |
2012-07-19 | killall: avoid gcc warning about wait name clash | Lennart Poettering | |
2012-07-17 | switch-root: don't wait for processes | Lennart Poettering | |
When we transition from the initrd to the main system, don't reap processes, so that they can be handled normally after deserialization. | |||
2012-07-13 | core: go on a killing spree when transitioning from initrd to main system | Lennart Poettering | |