aboutsummaryrefslogtreecommitdiff
path: root/procps/kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/kill.c')
-rw-r--r--procps/kill.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/procps/kill.c b/procps/kill.c
index c5c7a8d72..1ee79a051 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -7,6 +7,36 @@
7 * 7 *
8 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
9 */ 9 */
10//config:config KILL
11//config: bool "kill"
12//config: default y
13//config: help
14//config: The command kill sends the specified signal to the specified
15//config: process or process group. If no signal is specified, the TERM
16//config: signal is sent.
17//config:
18//config:config KILLALL
19//config: bool "killall"
20//config: default y
21//config: depends on KILL
22//config: help
23//config: killall sends a signal to all processes running any of the
24//config: specified commands. If no signal name is specified, SIGTERM is
25//config: sent.
26//config:
27//config:config KILLALL5
28//config: bool "killall5"
29//config: default y
30//config: depends on KILL
31//config:
32
33//applet:IF_KILL(APPLET(kill, BB_DIR_BIN, BB_SUID_DROP))
34//applet:IF_KILLALL(APPLET_ODDNAME(killall, kill, BB_DIR_USR_BIN, BB_SUID_DROP, killall))
35//applet:IF_KILLALL5(APPLET_ODDNAME(killall5, kill, BB_DIR_USR_SBIN, BB_SUID_DROP, killall5))
36
37//kbuild:lib-$(CONFIG_KILL) += kill.o
38//kbuild:lib-$(CONFIG_KILLALL) += kill.o
39//kbuild:lib-$(CONFIG_KILLALL5) += kill.o
10 40
11//usage:#define kill_trivial_usage 41//usage:#define kill_trivial_usage
12//usage: "[-l] [-SIG] PID..." 42//usage: "[-l] [-SIG] PID..."