sepolicy: thermal: add init_thermal policies
Bug: 315096213 Test: Build and verify for avc errors Change-Id: Idf032c9ce1544253cebd82fda24bcd4582c95111
This commit is contained in:
parent
6366ddba28
commit
05f2f5195b
2 changed files with 10 additions and 4 deletions
9
vendor/file_contexts
vendored
9
vendor/file_contexts
vendored
|
@ -23,9 +23,10 @@
|
|||
/dev/lwis-tof-tarasque u:object_r:lwis_device:s0
|
||||
|
||||
# Services
|
||||
/vendor/bin/hw/gnssd u:object_r:gnssd_exec:s0
|
||||
/vendor/bin/hw/sctd u:object_r:sctd_exec:s0
|
||||
/vendor/bin/hw/swcnd u:object_r:swcnd_exec:s0
|
||||
/vendor/bin/hw/spad u:object_r:spad_exec:s0
|
||||
/vendor/bin/hw/gnssd u:object_r:gnssd_exec:s0
|
||||
/vendor/bin/hw/sctd u:object_r:sctd_exec:s0
|
||||
/vendor/bin/hw/swcnd u:object_r:swcnd_exec:s0
|
||||
/vendor/bin/hw/spad u:object_r:spad_exec:s0
|
||||
/vendor/bin/hw/gnss-aidl-service_IGnssV2_ISlsiGnssV1 u:object_r:hal_gnss_default_exec:s0
|
||||
/vendor/bin/gnss_check\.sh u:object_r:gnss_check_exec:s0
|
||||
/vendor/bin/init_thermal_config u:object_r:init_thermal_config_exec:s0
|
||||
|
|
5
vendor/init_thermal_config.te
vendored
Normal file
5
vendor/init_thermal_config.te
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
type init_thermal_config, domain;
|
||||
type init_thermal_config_exec, exec_type, vendor_file_type, file_type;
|
||||
init_daemon_domain(init_thermal_config);
|
||||
|
||||
set_prop(init_thermal_config, vendor_thermal_prop)
|
Loading…
Add table
Add a link
Reference in a new issue