Home
last modified time | relevance | path

Searched refs:selinux_enabled (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/cmds/servicemanager/
Dservice_manager.c63 static int selinux_enabled; variable
92 if (selinux_enabled <= 0) { in check_mac_perms_from_getcon()
104 if (selinux_enabled <= 0) { in check_mac_perms_from_lookup()
387 selinux_enabled = is_selinux_enabled(); in main()
391 if (selinux_enabled > 0) { in main()
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp36 static int selinux_enabled; variable
62 if (selinux_enabled <= 0) { in selinuxIsProtectedCallAllowed()
111 selinux_enabled = is_selinux_enabled(); in instantiate()
112 if (selinux_enabled > 0 && getcon(&drmserver_context) != 0) { in instantiate()
/frameworks/native/cmds/installd/
Dinstalld.cpp709 int selinux_enabled = (is_selinux_enabled() > 0); in installd_main() local
730 if (selinux_enabled && selinux_status_open(true) < 0) { in installd_main()
771 if (selinux_enabled && selinux_status_updated() > 0) { in installd_main()
Dotapreopt.cpp858 int selinux_enabled = (is_selinux_enabled() > 0); in otapreopt_main() local
872 if (selinux_enabled && selinux_status_open(true) < 0) { in otapreopt_main()