summaryrefslogtreecommitdiff
path: root/selinux/runcon.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-12-23 13:52:13 +0100
committerDenys Vlasenko2017-01-01 13:01:04 +0100
commited6fb36124784d1cd2cb4421b150edc5bca719dc (patch)
tree8e2b3089e5ff4751f44ad7763d1420aa5c5c7133 /selinux/runcon.c
parent048c043ae64183967505b6fddd5b68663bdf6c40 (diff)
downloadbusybox-ed6fb36124784d1cd2cb4421b150edc5bca719dc.zip
busybox-ed6fb36124784d1cd2cb4421b150edc5bca719dc.tar.gz
Selinux complains about deprecated selinux/flask.h, stop including it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux/runcon.c')
-rw-r--r--selinux/runcon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c
index 366834e..16f1711 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -68,7 +68,9 @@
//usage: )
#include <selinux/context.h>
-#include <selinux/flask.h>
+/* from deprecated <selinux/flask.h>: */
+#undef SECCLASS_PROCESS
+#define SECCLASS_PROCESS 2
#include "libbb.h"