diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 18:46:40 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 18:46:40 +0100 |
commit | a8e52da7742b2bc8a3993f7f7c3c70da8fe79848 (patch) | |
tree | 5ec3c417b56095f6768b6a7c96817c248bdea2fa /selinux/chcon.c | |
parent | 15fb91cefb22d64952f34fe246fc8f257172af63 (diff) | |
download | busybox-w32-a8e52da7742b2bc8a3993f7f7c3c70da8fe79848.tar.gz busybox-w32-a8e52da7742b2bc8a3993f7f7c3c70da8fe79848.tar.bz2 busybox-w32-a8e52da7742b2bc8a3993f7f7c3c70da8fe79848.zip |
Convert all selinux/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux/chcon.c')
-rw-r--r-- | selinux/chcon.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c index f947c2c12..c743013ce 100644 --- a/selinux/chcon.c +++ b/selinux/chcon.c | |||
@@ -7,6 +7,23 @@ | |||
7 | * | 7 | * |
8 | * Licensed under GPLv2, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | //config:config CHCON | ||
11 | //config: bool "chcon" | ||
12 | //config: default n | ||
13 | //config: depends on SELINUX | ||
14 | //config: help | ||
15 | //config: Enable support to change the security context of file. | ||
16 | //config: | ||
17 | //config:config FEATURE_CHCON_LONG_OPTIONS | ||
18 | //config: bool "Enable long options" | ||
19 | //config: default y | ||
20 | //config: depends on CHCON && LONG_OPTS | ||
21 | //config: help | ||
22 | //config: Support long options for the chcon applet. | ||
23 | |||
24 | //applet:IF_CHCON(APPLET(chcon, BB_DIR_USR_BIN, BB_SUID_DROP)) | ||
25 | |||
26 | //kbuild:lib-$(CONFIG_CHCON) += chcon.o | ||
10 | 27 | ||
11 | //usage:#define chcon_trivial_usage | 28 | //usage:#define chcon_trivial_usage |
12 | //usage: "[OPTIONS] CONTEXT FILE..." | 29 | //usage: "[OPTIONS] CONTEXT FILE..." |