diff options
author | Denys Vlasenko | 2016-12-23 13:52:13 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-01-01 13:01:04 +0100 |
commit | ed6fb36124784d1cd2cb4421b150edc5bca719dc (patch) | |
tree | 8e2b3089e5ff4751f44ad7763d1420aa5c5c7133 /loginutils | |
parent | 048c043ae64183967505b6fddd5b68663bdf6c40 (diff) | |
download | busybox-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 '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 52abc18..3ca8213 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 |