Allow media server configurable flags to be read from anywhere am: ffeb680417 am: 7975447205

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

Change-Id: Idaf0f93454e499b0499ac7611d45de00a223f9ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Brian Lindahl 2023-05-26 08:12:04 +00:00 committed by Automerger Merge Worker
commit 9d16f70010
2 changed files with 5 additions and 1 deletions

View file

@ -1286,3 +1286,7 @@ neverallow { domain -traced_probes -init -vendor_init } debugfs_tracing_printk_f
# Linux lockdown "integrity" level is enforced for user builds. # Linux lockdown "integrity" level is enforced for user builds.
neverallow { domain userdebug_or_eng(`-domain') } self:lockdown integrity; neverallow { domain userdebug_or_eng(`-domain') } self:lockdown integrity;
# Allow everyone to read media server-configurable flags, so that libstagefright can be
# configured using server-configurable flags
get_prop(domain, device_config_media_native_prop)

View file

@ -8,7 +8,6 @@ system_internal_prop(bootloader_boot_reason_prop)
system_internal_prop(device_config_activity_manager_native_boot_prop) system_internal_prop(device_config_activity_manager_native_boot_prop)
system_internal_prop(device_config_boot_count_prop) system_internal_prop(device_config_boot_count_prop)
system_internal_prop(device_config_input_native_boot_prop) system_internal_prop(device_config_input_native_boot_prop)
system_internal_prop(device_config_media_native_prop)
system_internal_prop(device_config_netd_native_prop) system_internal_prop(device_config_netd_native_prop)
system_internal_prop(device_config_reset_performed_prop) system_internal_prop(device_config_reset_performed_prop)
system_internal_prop(firstboot_prop) system_internal_prop(firstboot_prop)
@ -68,6 +67,7 @@ system_restricted_prop(build_prop)
system_restricted_prop(composd_vm_art_prop) system_restricted_prop(composd_vm_art_prop)
system_restricted_prop(device_config_camera_native_prop) system_restricted_prop(device_config_camera_native_prop)
system_restricted_prop(device_config_edgetpu_native_prop) system_restricted_prop(device_config_edgetpu_native_prop)
system_restricted_prop(device_config_media_native_prop)
system_restricted_prop(device_config_nnapi_native_prop) system_restricted_prop(device_config_nnapi_native_prop)
system_restricted_prop(device_config_runtime_native_boot_prop) system_restricted_prop(device_config_runtime_native_boot_prop)
system_restricted_prop(device_config_runtime_native_prop) system_restricted_prop(device_config_runtime_native_prop)