drmserver: read locked ringtones

avc: denied { read } for comm="generic" path="/data/system_de/0/ringtones/ringtone_cache" dev="sda35" ino=1114120 scontext=u:r:drmserver:s0 tcontext=u:object_r:ringtone_file:s0 tclass=file

Change-Id: I40992733d779743be92c15a094d166a3df64a10f
Fixes: 30167454
This commit is contained in:
Jeff Vander Stoep 2016-07-20 15:11:10 -07:00
parent 49f0af549e
commit f23b870a69

View file

@ -41,6 +41,7 @@ r_dir_file(drmserver, media_rw_data_file)
# Read resources from open apk files passed over Binder. # Read resources from open apk files passed over Binder.
allow drmserver apk_data_file:file { read getattr }; allow drmserver apk_data_file:file { read getattr };
allow drmserver asec_apk_file:file { read getattr }; allow drmserver asec_apk_file:file { read getattr };
allow drmserver ringtone_file:file { read getattr };
# Read /data/data/com.android.providers.telephony files passed over Binder. # Read /data/data/com.android.providers.telephony files passed over Binder.
allow drmserver radio_data_file:file { read getattr }; allow drmserver radio_data_file:file { read getattr };