Skip to content
Snippets Groups Projects
Commit 60fafb00 authored by Iliyan Malchev's avatar Iliyan Malchev Committed by android-build-merger
Browse files

sepolicy: allow hwservicemanager to set properties am: 96031a83

am: bfde4e0b

Change-Id: I659ff4cbf55ddb386393b128606170765e3cf2c4
parents 1f777c9d bfde4e0b
Branches
Tags
No related merge requests found
......@@ -13,6 +13,8 @@ init_daemon_domain(hwservicemanager)
allow hwservicemanager self:binder set_context_mgr;
allow hwservicemanager { domain -init }:binder transfer;
set_prop(hwservicemanager, hwservicemanager_prop)
# TODO once hwservicemanager checks whether HALs are
# allowed to register a certain service, add policy here
# for allowing to check SELinux permissions.
......@@ -40,5 +40,6 @@ type dalvik_prop, property_type, core_property_type;
type config_prop, property_type, core_property_type;
type device_logging_prop, property_type;
type safemode_prop, property_type;
type hwservicemanager_prop, property_type;
allow property_type tmpfs:filesystem associate;
......@@ -99,3 +99,6 @@ ro.dalvik. u:object_r:dalvik_prop:s0
# Shared between system server and wificond
wlan. u:object_r:wifi_prop:s0
# hwservicemanager properties
hwservicemanager. u:object_r:hwservicemanager_prop:s0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment