aboutsummaryrefslogtreecommitdiff
path: root/selinux/runcon.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 18:46:40 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 18:46:40 +0100
commita8e52da7742b2bc8a3993f7f7c3c70da8fe79848 (patch)
tree5ec3c417b56095f6768b6a7c96817c248bdea2fa /selinux/runcon.c
parent15fb91cefb22d64952f34fe246fc8f257172af63 (diff)
downloadbusybox-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/runcon.c')
-rw-r--r--selinux/runcon.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c
index 27f2be3a9..366834e46 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -28,6 +28,23 @@
28 * 28 *
29 * Licensed under GPLv2, see file LICENSE in this source tree. 29 * Licensed under GPLv2, see file LICENSE in this source tree.
30 */ 30 */
31//config:config RUNCON
32//config: bool "runcon"
33//config: default n
34//config: depends on SELINUX
35//config: help
36//config: Enable support to run command in specified security context.
37//config:
38//config:config FEATURE_RUNCON_LONG_OPTIONS
39//config: bool "Enable long options"
40//config: default y
41//config: depends on RUNCON && LONG_OPTS
42//config: help
43//config: Support long options for the runcon applet.
44
45//applet:IF_RUNCON(APPLET(runcon, BB_DIR_USR_BIN, BB_SUID_DROP))
46
47//kbuild:lib-$(CONFIG_RUNCON) += runcon.o
31 48
32//usage:#define runcon_trivial_usage 49//usage:#define runcon_trivial_usage
33//usage: "[-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] PROG ARGS\n" 50//usage: "[-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] PROG ARGS\n"