aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/selinux.config
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2020-08-19 11:40:27 -1000
committerDaniel Golle <daniel@makrotopia.org>2020-08-23 23:37:08 +0100
commit2e06f8ae24ec47cd1db9703ce6474bbd9304ef99 (patch)
tree8d8efbfd1eb84b42fc3c9782c72b0f07bfa12c13 /package/utils/busybox/selinux.config
parentb2f19d3ef707c60c46a75a1fe2c38365474a5921 (diff)
downloadupstream-2e06f8ae24ec47cd1db9703ce6474bbd9304ef99.tar.gz
upstream-2e06f8ae24ec47cd1db9703ce6474bbd9304ef99.tar.bz2
upstream-2e06f8ae24ec47cd1db9703ce6474bbd9304ef99.zip
busybox: add selinux variant
This commit adds a `selinux` variant which comes with with a number of SELinux applets and also SELinux label support. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'package/utils/busybox/selinux.config')
-rw-r--r--package/utils/busybox/selinux.config15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/utils/busybox/selinux.config b/package/utils/busybox/selinux.config
new file mode 100644
index 0000000000..ef20155814
--- /dev/null
+++ b/package/utils/busybox/selinux.config
@@ -0,0 +1,15 @@
+CONFIG_SELINUX=y
+CONFIG_FEATURE_TAR_SELINUX=y
+CONFIG_CHCON=y
+CONFIG_GETENFORCE=y
+CONFIG_GETSEBOOL=y
+CONFIG_LOAD_POLICY=y
+CONFIG_MATCHPATHCON=y
+CONFIG_RUNCON=y
+CONFIG_SELINUXENABLED=y
+CONFIG_SESTATUS=y
+CONFIG_SETFILES=y
+CONFIG_FEATURE_SETFILES_CHECK_OPTION=y
+CONFIG_RESTORECON=y
+CONFIG_SETSEBOOL=y
+CONFIG_SETENFORCE=y