diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-01 20:20:37 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-01 20:20:37 +0000 |
commit | dd539f76877000e333796da8f30ea760c080a69a (patch) | |
tree | 26f8642cd9e8cc1c2ca0b75a6b20801863b4e2cf /procps/kill.c | |
parent | 92258541449581302e180d05e827e27d35030a18 (diff) | |
download | busybox-w32-dd539f76877000e333796da8f30ea760c080a69a.tar.gz busybox-w32-dd539f76877000e333796da8f30ea760c080a69a.tar.bz2 busybox-w32-dd539f76877000e333796da8f30ea760c080a69a.zip |
Unneeded code removed, usused field "unsigned pscpu" removed
Diffstat (limited to 'procps/kill.c')
-rw-r--r-- | procps/kill.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/procps/kill.c b/procps/kill.c index f22bdbe46..1b31a7291 100644 --- a/procps/kill.c +++ b/procps/kill.c | |||
@@ -84,9 +84,10 @@ do_it_now: | |||
84 | pid_t sid; | 84 | pid_t sid; |
85 | procps_status_t* p; | 85 | procps_status_t* p; |
86 | 86 | ||
87 | /* kill(-1, sig) on Linux (at least 2.1.x) | 87 | // Cannot happen anyway? We don't TERM ourself, we STOP |
88 | * might send signal to the calling process too */ | 88 | // /* kill(-1, sig) on Linux (at least 2.1.x) |
89 | signal(SIGTERM, SIG_IGN); | 89 | // * might send signal to the calling process too */ |
90 | // signal(SIGTERM, SIG_IGN); | ||
90 | /* Now stop all processes */ | 91 | /* Now stop all processes */ |
91 | kill(-1, SIGSTOP); | 92 | kill(-1, SIGSTOP); |
92 | /* Find out our own session id */ | 93 | /* Find out our own session id */ |