Home
last modified time | relevance | path

Searched refs:selinux_enforcing (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/security/selinux/include/
Davc.h24 extern int selinux_enforcing;
26 #define selinux_enforcing 1 macro
/linux-2.6.39/security/selinux/ss/
Dstatus.c61 status->enforcing = selinux_enforcing; in selinux_kernel_status_page()
Dservices.c740 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()
/linux-2.6.39/security/selinux/
Dselinuxfs.c135 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()
Davc.c794 else if (!selinux_enforcing || (avd->flags & AVD_FLAGS_PERMISSIVE)) in avc_has_perm_noaudit()
Dhooks.c102 int selinux_enforcing; variable
108 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()