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 /loginutils | |
parent | 1afa494fd131891e195ab11086ee52fce5c5f4b8 (diff) | |
download | busybox-4ea0ebdd429fe761c1324176b1ac6017248366af.tar.gz |
Selinux complains about deprecated selinux/flask.h, stop including it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/login.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/loginutils/login.c b/loginutils/login.c index 52abc1886..3ca8213bb 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -69,7 +69,9 @@ #if ENABLE_SELINUX # include <selinux/selinux.h> /* for is_selinux_enabled() */ # include <selinux/get_context_list.h> /* for get_default_context() */ -# include <selinux/flask.h> /* for security class definitions */ +# /* from deprecated <selinux/flask.h>: */ +# undef SECCLASS_CHR_FILE +# define SECCLASS_CHR_FILE 10 #endif #if ENABLE_PAM |