Skip to content

Commit

Permalink
drmserver: read locked ringtones
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jeffvanderstoep committed Jul 20, 2016
1 parent 49f0af5 commit f23b870
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drmserver.te
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ r_dir_file(drmserver, media_rw_data_file)
# Read resources from open apk files passed over Binder.
allow drmserver apk_data_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.
allow drmserver radio_data_file:file { read getattr };
Expand Down

0 comments on commit f23b870

Please sign in to comment.