Allow system_app to access radio_config system properties

Bug: 220995034
Test: manual
Change-Id: Ib71e45c74b5f561ca40548de6aa36c5f7044ecd1
This commit is contained in:
Gary Jian 2022-03-10 01:36:12 +08:00
parent 45b7782c2b
commit 874dd08030
2 changed files with 4 additions and 0 deletions

View file

@ -511,6 +511,7 @@ bluetooth.profile.vc.server.enabled u:object_r:bluetooth_config
persist.nfc.debug_enabled u:object_r:nfc_prop:s0 exact bool
persist.radio.multisim.config u:object_r:radio_control_prop:s0 exact string
persist.radio.allow_mock_modem u:object_r:radio_control_prop:s0 exact bool
persist.sys.hdmi.keep_awake u:object_r:hdmi_config_prop:s0 exact bool
ro.hdmi.cec_device_types u:object_r:hdmi_config_prop:s0 exact string

View file

@ -203,6 +203,9 @@ neverallow {
# allow system_app to access Nfc-related system properties.
set_prop(system_app, nfc_prop)
# allow system_app to access radio_config system properties.
set_prop(system_app, radio_control_prop)
# Apps cannot access proc_uid_time_in_state
neverallow appdomain proc_uid_time_in_state:file *;