Annotation of /trunk/busybox/patches/busybox-1.36.1-no-send-signals.patch
Parent Directory | Revision Log
Revision 3763 -
(hide annotations)
(download)
Sat Aug 12 12:05:15 2023 UTC (9 months, 4 weeks ago) by niro
File size: 615 byte(s)
Sat Aug 12 12:05:15 2023 UTC (9 months, 4 weeks ago) by niro
File size: 615 byte(s)
-rediffed for 1.36.1
1 | niro | 3763 | diff -Naur busybox-1.36.1/init/init.c busybox-1.36.1-signals/init/init.c |
2 | --- busybox-1.36.1/init/init.c 2023-01-03 14:14:43.000000000 +0000 | ||
3 | +++ busybox-1.36.1-signals/init/init.c 2023-08-12 12:04:03.848733936 +0000 | ||
4 | @@ -764,14 +764,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 | - sleep1(); | ||
13 | - | ||
14 | - kill(-1, SIGKILL); | ||
15 | - message(L_CONSOLE, "Sent SIG%s to all processes", "KILL"); | ||
16 | sync(); | ||
17 | /*sleep1(); - callers take care about making a pause */ | ||
18 | } |