diff options
Diffstat (limited to 'util-linux/setpriv.c')
-rw-r--r-- | util-linux/setpriv.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/util-linux/setpriv.c b/util-linux/setpriv.c index 89181085a..0f85428ab 100644 --- a/util-linux/setpriv.c +++ b/util-linux/setpriv.c | |||
@@ -13,36 +13,36 @@ | |||
13 | //config: select PLATFORM_LINUX | 13 | //config: select PLATFORM_LINUX |
14 | //config: select LONG_OPTS | 14 | //config: select LONG_OPTS |
15 | //config: help | 15 | //config: help |
16 | //config: Run a program with different Linux privilege settings. | 16 | //config: Run a program with different Linux privilege settings. |
17 | //config: Requires kernel >= 3.5 | 17 | //config: Requires kernel >= 3.5 |
18 | //config: | 18 | //config: |
19 | //config:config FEATURE_SETPRIV_DUMP | 19 | //config:config FEATURE_SETPRIV_DUMP |
20 | //config: bool "Support dumping current privilege state" | 20 | //config: bool "Support dumping current privilege state" |
21 | //config: default y | 21 | //config: default y |
22 | //config: depends on SETPRIV | 22 | //config: depends on SETPRIV |
23 | //config: help | 23 | //config: help |
24 | //config: Enables the "--dump" switch to print out the current privilege | 24 | //config: Enables the "--dump" switch to print out the current privilege |
25 | //config: state. This is helpful for diagnosing problems. | 25 | //config: state. This is helpful for diagnosing problems. |
26 | //config: | 26 | //config: |
27 | //config:config FEATURE_SETPRIV_CAPABILITIES | 27 | //config:config FEATURE_SETPRIV_CAPABILITIES |
28 | //config: bool "Support capabilities" | 28 | //config: bool "Support capabilities" |
29 | //config: default y | 29 | //config: default y |
30 | //config: depends on SETPRIV | 30 | //config: depends on SETPRIV |
31 | //config: help | 31 | //config: help |
32 | //config: Capabilities can be used to grant processes additional rights | 32 | //config: Capabilities can be used to grant processes additional rights |
33 | //config: without the necessity to always execute as the root user. | 33 | //config: without the necessity to always execute as the root user. |
34 | //config: Enabling this option enables "--dump" to show information on | 34 | //config: Enabling this option enables "--dump" to show information on |
35 | //config: capabilities. | 35 | //config: capabilities. |
36 | //config: | 36 | //config: |
37 | //config:config FEATURE_SETPRIV_CAPABILITY_NAMES | 37 | //config:config FEATURE_SETPRIV_CAPABILITY_NAMES |
38 | //config: bool "Support capability names" | 38 | //config: bool "Support capability names" |
39 | //config: default y | 39 | //config: default y |
40 | //config: depends on SETPRIV && FEATURE_SETPRIV_CAPABILITIES | 40 | //config: depends on SETPRIV && FEATURE_SETPRIV_CAPABILITIES |
41 | //config: help | 41 | //config: help |
42 | //config: Capabilities can be either referenced via a human-readble name, | 42 | //config: Capabilities can be either referenced via a human-readble name, |
43 | //config: e.g. "net_admin", or using their index, e.g. "cap_12". Enabling | 43 | //config: e.g. "net_admin", or using their index, e.g. "cap_12". Enabling |
44 | //config: this option allows using the human-readable names in addition to | 44 | //config: this option allows using the human-readable names in addition to |
45 | //config: the index-based names. | 45 | //config: the index-based names. |
46 | 46 | ||
47 | //applet:IF_SETPRIV(APPLET(setpriv, BB_DIR_BIN, BB_SUID_DROP)) | 47 | //applet:IF_SETPRIV(APPLET(setpriv, BB_DIR_BIN, BB_SUID_DROP)) |
48 | 48 | ||