Searched refs:selinux_enabled (Results 1 – 4 of 4) sorted by relevance
126 int selinux_enabled = (is_selinux_enabled () > 0); in main() local148 if (!selinux_enabled && !smack_enabled) in main()153 if (!selinux_enabled) in main()217 if ((selinux_enabled && getcon (&context) && just_context) in main()
121 bool selinux_enabled = (0 < is_selinux_enabled ()); in cp_option_init() local139 x->preserve_security_context = selinux_enabled; in cp_option_init()324 bool selinux_enabled = (0 < is_selinux_enabled ()); in main() local411 if (selinux_enabled) in main()
52 static int selinux_enabled = 0; variable215 if (selinux_enabled && x->preserve_security_context) in need_copy()328 if (selinux_enabled != 1) in setdefaultfilecon()792 selinux_enabled = (0 < is_selinux_enabled ()); in main()876 if (! selinux_enabled) in main()886 if (selinux_enabled) in main()
75 static bool selinux_enabled; variable952 if (selinux_enabled) in decode_preserve_arg()989 selinux_enabled = (0 < is_selinux_enabled ()); in main()1019 if (selinux_enabled) in main()1170 if (selinux_enabled) in main()1260 if (x.require_preserve_context && ! selinux_enabled) in main()