Contents of /trunk/busybox/patches/busybox-1.27.1-no-send-signals.patch
Parent Directory | Revision Log
Revision 2958 -
(show annotations)
(download)
Wed Jul 26 13:14:09 2017 UTC (7 years, 2 months ago) by niro
File size: 617 byte(s)
Wed Jul 26 13:14:09 2017 UTC (7 years, 2 months ago) by niro
File size: 617 byte(s)
-re-diffed for 1.27.1
1 | diff -Naur busybox-1.27.1/init/init.c busybox-1.27.1-magellan/init/init.c |
2 | --- busybox-1.27.1/init/init.c 2017-07-06 17:14:57.000000000 +0200 |
3 | +++ busybox-1.27.1-magellan/init/init.c 2017-07-26 15:12:28.070097747 +0200 |
4 | @@ -759,14 +759,6 @@ |
5 | |
6 | message(L_CONSOLE | L_LOG, "The system is going down NOW!"); |
7 | |
8 | - /* Send signals to every process _except_ pid 1 */ |
9 | - kill(-1, SIGTERM); |
10 | - message(L_CONSOLE, "Sent SIG%s to all processes", "TERM"); |
11 | - sync(); |
12 | - sleep(1); |
13 | - |
14 | - kill(-1, SIGKILL); |
15 | - message(L_CONSOLE, "Sent SIG%s to all processes", "KILL"); |
16 | sync(); |
17 | /*sleep(1); - callers take care about making a pause */ |
18 | } |