diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-16 08:21:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-16 08:21:34 +0000 |
commit | a77b4f39708306d44058d7ca1683f448f51c5fce (patch) | |
tree | 79f812d48d525d48a9aec555f7544dbe5653306f /procps/top.c | |
parent | 63e5e7bf0e903b8f1e1f3208d2bcd63868866207 (diff) | |
download | busybox-a77b4f39708306d44058d7ca1683f448f51c5fce.tar.gz |
jfb2 writes in Bug 119:
The init applet will restart (re-exec) itsself when it
receives a SIGHUP. However, just before it enters its
main loop, it resets SIGHUP to either re-load the inittab
(or ignore it if no inittab is used). Thus preventing
the re-exec option from being triggerable.
This patch adds a signal handler for SIGQUIT for init that
always causes init to re-exec itsself (along with killing
anything else that might be still running).
Diffstat (limited to 'procps/top.c')
0 files changed, 0 insertions, 0 deletions