Convert all selinux/* applets to "new style" applet definitions

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2016-11-23 18:46:40 +01:00
parent 15fb91cefb
commit a8e52da774
14 changed files with 148 additions and 137 deletions

View File

@ -7,6 +7,23 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config CHCON
//config: bool "chcon"
//config: default n
//config: depends on SELINUX
//config: help
//config: Enable support to change the security context of file.
//config:
//config:config FEATURE_CHCON_LONG_OPTIONS
//config: bool "Enable long options"
//config: default y
//config: depends on CHCON && LONG_OPTS
//config: help
//config: Support long options for the chcon applet.
//applet:IF_CHCON(APPLET(chcon, BB_DIR_USR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_CHCON) += chcon.o
//usage:#define chcon_trivial_usage
//usage: "[OPTIONS] CONTEXT FILE..."