Searched refs:security_getenforce (Results 1 – 23 of 23) sorted by relevance
12 int security_getenforce(void) in security_getenforce() function40 hidden_def(security_getenforce)
48 if (rc < 0 && security_getenforce() == 0) in setexecfilecon()
96 if (status != 0 && security_getenforce() == 0) in selinux_check_passwd_access()
307 fallback_enforcing = security_getenforce(); in selinux_status_open()
61 hidden_proto(security_getenforce)
350 orig_enforce = rc = security_getenforce(); in hidden_def()
605 %exception security_getenforce {
222 rc = security_getenforce(); in avc_init()
24 int ret = security_getenforce(); in getenforce_main()
17 rc = security_getenforce(); in main()
22 security_getenforce;
16 security_getenforce;
288 "--allowlist-function=security_getenforce",
80 switch (security_getenforce()) { in ssh_selinux_getctxbyname()117 switch (security_getenforce()) { in ssh_selinux_setup_exec_context()
118 if selinux.is_selinux_enabled() and selinux.security_getenforce() == 1:
110 if selinux.is_selinux_enabled() and selinux.security_getenforce() == 1:
102 if selinux.security_getenforce() > 0:
282 rc = security_getenforce(); in main()
337 extern int security_getenforce(void);
703 int enforcing = security_getenforce(); in relabel_tty()1082 if (security_getenforce() < 0) { in main()
279 if selinux.is_selinux_enabled() and selinux.security_getenforce() == 1:
960 if (security_getenforce() == 1) in seapp_context_lookup()
643 self.status = selinux.security_getenforce()