Home
last modified time | relevance | path

Searched refs:security_getenforce (Results 1 – 23 of 23) sorted by relevance

/external/selinux/libselinux/src/
Dgetenforce.c12 int security_getenforce(void) in security_getenforce() function
40 hidden_def(security_getenforce)
Dsetexecfilecon.c48 if (rc < 0 && security_getenforce() == 0) in setexecfilecon()
DcheckAccess.c96 if (status != 0 && security_getenforce() == 0) in selinux_check_passwd_access()
Dsestatus.c307 fallback_enforcing = security_getenforce(); in selinux_status_open()
Dselinux_internal.h61 hidden_proto(security_getenforce)
Dload_policy.c350 orig_enforce = rc = security_getenforce(); in hidden_def()
Dselinuxswig_python_exception.i605 %exception security_getenforce {
Davc.c222 rc = security_getenforce(); in avc_init()
/external/toybox/toys/android/
Dgetenforce.c24 int ret = security_getenforce(); in getenforce_main()
/external/selinux/libselinux/utils/
Dgetenforce.c17 rc = security_getenforce(); in main()
/external/selinux/libselinux/
Dexported_vendor.map22 security_getenforce;
Dexported.map.txt16 security_getenforce;
DAndroid.bp288 "--allowlist-function=security_getenforce",
/external/openssh/openbsd-compat/
Dport-linux.c80 switch (security_getenforce()) { in ssh_selinux_getctxbyname()
117 switch (security_getenforce()) { in ssh_selinux_setup_exec_context()
/external/selinux/python/sepolicy/
Dtest_sepolicy.py118 if selinux.is_selinux_enabled() and selinux.security_getenforce() == 1:
/external/selinux/sandbox/
Dtest_sandbox.py110 if selinux.is_selinux_enabled() and selinux.security_getenforce() == 1:
/external/selinux/gui/
DstatusPage.py102 if selinux.security_getenforce() > 0:
/external/selinux/policycoreutils/sestatus/
Dsestatus.c282 rc = security_getenforce(); in main()
/external/selinux/libselinux/include/selinux/
Dselinux.h337 extern int security_getenforce(void);
/external/selinux/policycoreutils/newrole/
Dnewrole.c703 int enforcing = security_getenforce(); in relabel_tty()
1082 if (security_getenforce() < 0) { in main()
/external/selinux/python/semanage/
Dtest-semanage.py279 if selinux.is_selinux_enabled() and selinux.security_getenforce() == 1:
/external/selinux/libselinux/src/android/
Dandroid_platform.c960 if (security_getenforce() == 1) in seapp_context_lookup()
/external/selinux/python/sepolicy/sepolicy/
Dgui.py643 self.status = selinux.security_getenforce()