Relabel drm related props from exported*_prop
To clean up bad context name exported[23]_default_prop Bug: 155844385 Test: m selinux_policy Change-Id: I9f9ddb0d44c4cea9bd1724df730bb7be9a6fb2d2
This commit is contained in:
parent
01e277bd5c
commit
832e17b695
8 changed files with 16 additions and 5 deletions
|
@ -51,6 +51,7 @@
|
|||
device_config_reset_performed_prop
|
||||
device_config_netd_native_prop
|
||||
dnsresolver_service
|
||||
drm_service_config_prop
|
||||
exfat
|
||||
exported2_config_prop
|
||||
exported2_default_prop
|
||||
|
@ -121,6 +122,7 @@
|
|||
lowpan_prop
|
||||
lowpan_service
|
||||
media_config_prop
|
||||
mediadrm_config_prop
|
||||
mediaextractor_update_service
|
||||
mediaswcodec
|
||||
mediaswcodec_exec
|
||||
|
|
|
@ -1359,9 +1359,11 @@
|
|||
(typeattributeset exported3_default_prop_30_0
|
||||
( exported3_default_prop
|
||||
camera_config_prop
|
||||
drm_service_config_prop
|
||||
hdmi_config_prop
|
||||
lmkd_config_prop
|
||||
media_config_prop
|
||||
mediadrm_config_prop
|
||||
recovery_config_prop
|
||||
telephony_config_prop
|
||||
zram_config_prop))
|
||||
|
|
|
@ -5,3 +5,5 @@ init_daemon_domain(drmserver)
|
|||
type_transition drmserver apk_data_file:sock_file drmserver_socket;
|
||||
|
||||
typeattribute drmserver_socket coredomain_socket;
|
||||
|
||||
get_prop(drmserver, drm_service_config_prop)
|
||||
|
|
|
@ -50,3 +50,5 @@ allow mediaprovider_app proc_filesystems:file r_file_perms;
|
|||
|
||||
#Allow MediaProvider to see if sdcardfs is in use
|
||||
get_prop(mediaprovider_app, storage_config_prop)
|
||||
|
||||
get_prop(mediaprovider_app, drm_service_config_prop)
|
||||
|
|
|
@ -13,4 +13,5 @@ hal_client_domain(mediaserver, hal_codec2)
|
|||
|
||||
set_prop(mediaserver, audio_prop)
|
||||
|
||||
get_prop(mediaserver, drm_service_config_prop)
|
||||
get_prop(mediaserver, media_config_prop)
|
||||
|
|
|
@ -339,8 +339,6 @@ dalvik.vm.zygote.max-boot-retry u:object_r:dalvik_config_prop:s0 e
|
|||
|
||||
persist.sys.dalvik.vm.lib.2 u:object_r:dalvik_runtime_prop:s0 exact string
|
||||
|
||||
drm.service.enabled u:object_r:exported3_default_prop:s0 exact bool
|
||||
|
||||
keyguard.no_require_sim u:object_r:exported3_default_prop:s0 exact bool
|
||||
|
||||
media.recorder.show_manufacturer_and_model u:object_r:exported3_default_prop:s0 exact bool
|
||||
|
@ -521,7 +519,10 @@ ro.aac_drc_effect_type u:object_r:aac_drc_prop:s0 exact int
|
|||
|
||||
build.version.extensions. u:object_r:module_sdkextensions_prop:s0 prefix int
|
||||
|
||||
drm.64bit.enabled u:object_r:exported2_default_prop:s0 exact bool
|
||||
drm.64bit.enabled u:object_r:mediadrm_config_prop:s0 exact bool
|
||||
media.mediadrmservice.enable u:object_r:mediadrm_config_prop:s0 exact bool
|
||||
|
||||
drm.service.enabled u:object_r:drm_service_config_prop:s0 exact bool
|
||||
|
||||
dumpstate.dry_run u:object_r:exported_dumpstate_prop:s0 exact bool
|
||||
dumpstate.unroot u:object_r:exported_dumpstate_prop:s0 exact bool
|
||||
|
@ -664,8 +665,6 @@ aaudio.mmap_exclusive_policy u:object_r:exported_default_prop:s0 exact int
|
|||
aaudio.mmap_policy u:object_r:exported_default_prop:s0 exact int
|
||||
aaudio.wakeup_delay_usec u:object_r:exported_default_prop:s0 exact int
|
||||
|
||||
media.mediadrmservice.enable u:object_r:exported_default_prop:s0 exact bool
|
||||
|
||||
persist.rcs.supported u:object_r:exported_default_prop:s0 exact int
|
||||
|
||||
ro.bionic.2nd_arch u:object_r:cpu_variant_prop:s0 exact string
|
||||
|
|
|
@ -108,6 +108,7 @@ get_prop(domain, fingerprint_prop)
|
|||
get_prop(domain, init_service_status_prop)
|
||||
get_prop(domain, libc_debug_prop)
|
||||
get_prop(domain, logd_prop)
|
||||
get_prop(domain, mediadrm_config_prop)
|
||||
get_prop(domain, socket_hook_prop)
|
||||
get_prop(domain, surfaceflinger_prop)
|
||||
get_prop(domain, telephony_status_prop)
|
||||
|
|
|
@ -109,6 +109,7 @@ system_vendor_config_prop(build_vendor_prop)
|
|||
system_vendor_config_prop(camera_config_prop)
|
||||
system_vendor_config_prop(cpu_variant_prop)
|
||||
system_vendor_config_prop(dalvik_config_prop)
|
||||
system_vendor_config_prop(drm_service_config_prop)
|
||||
system_vendor_config_prop(exported_camera_prop)
|
||||
system_vendor_config_prop(exported_config_prop)
|
||||
system_vendor_config_prop(exported_default_prop)
|
||||
|
@ -120,6 +121,7 @@ system_vendor_config_prop(incremental_prop)
|
|||
system_vendor_config_prop(lmkd_config_prop)
|
||||
system_vendor_config_prop(media_config_prop)
|
||||
system_vendor_config_prop(media_variant_prop)
|
||||
system_vendor_config_prop(mediadrm_config_prop)
|
||||
system_vendor_config_prop(recovery_config_prop)
|
||||
system_vendor_config_prop(storage_config_prop)
|
||||
system_vendor_config_prop(surfaceflinger_prop)
|
||||
|
|
Loading…
Reference in a new issue