diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-12-23 13:52:13 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-12-23 13:52:13 +0100 |
commit | 4ea0ebdd429fe761c1324176b1ac6017248366af (patch) | |
tree | 08a0ab4500cd483d105124e02a2eca38d979d47d /selinux | |
parent | 1afa494fd131891e195ab11086ee52fce5c5f4b8 (diff) |
Selinux complains about deprecated selinux/flask.h, stop including it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux')
-rw-r--r-- | selinux/runcon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c index 366834e46..16f171101 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" |