Searched refs:selinux_enforcing (Results 1 – 6 of 6) sorted by relevance
24 extern int selinux_enforcing;26 #define selinux_enforcing 1 macro
61 status->enforcing = selinux_enforcing; in selinux_kernel_status_page()
740 if (!selinux_enforcing) in security_validtrans_handle_fail()1356 if (!selinux_enforcing) in compute_sid_handle_invalid_context()1615 if (selinux_enforcing) in convert_context_handle_invalid_context()
135 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", selinux_enforcing); in sel_read_enforce()170 if (new_value != selinux_enforcing) { in sel_write_enforce()176 new_value, selinux_enforcing, in sel_write_enforce()179 selinux_enforcing = new_value; in sel_write_enforce()180 if (selinux_enforcing) in sel_write_enforce()182 selnl_notify_setenforce(selinux_enforcing); in sel_write_enforce()183 selinux_status_update_setenforce(selinux_enforcing); in sel_write_enforce()
794 else if (!selinux_enforcing || (avd->flags & AVD_FLAGS_PERMISSIVE)) in avc_has_perm_noaudit()
102 int selinux_enforcing; variable108 selinux_enforcing = enforcing ? 1 : 0; in enforcing_setup()4433 if (!selinux_enforcing || security_get_allow_unknown()) in selinux_nlmsg_perm()5659 if (selinux_enforcing) in selinux_init()