Merge "Allow system_app to access radio_config system properties" am: ee0b51e099

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2024724

Change-Id: I8e7596c9cd89ce43023820b1decc9a0b68d6d602
This commit is contained in:
Gary Jian 2022-03-23 06:11:42 +00:00 committed by Automerger Merge Worker
commit c19e667cbd
2 changed files with 4 additions and 0 deletions

View file

@ -515,6 +515,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 *;