Skip to content
Snippets Groups Projects
Commit 2f829dcd authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Cached ringtone files should be mlstrustedobject.

Both appdomain and priv_app can set the default ringtones, so the
cache files need to be mlstrustedobject.

avc: denied { write } for path="/data/system_de/0/ringtones/ringtone_cache" dev="mmcblk0p44" ino=1602501 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:ringtone_file:s0 tclass=file permissive=0

Bug: 27366059
Change-Id: Ib362f58b180a62bd46800083d6c538426f955b10
parent 423fd19d
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ type heapdump_data_file, file_type, data_file_type, mlstrustedobject; ...@@ -102,7 +102,7 @@ type heapdump_data_file, file_type, data_file_type, mlstrustedobject;
# /data/nativetest # /data/nativetest
type nativetest_data_file, file_type, data_file_type; type nativetest_data_file, file_type, data_file_type;
# /data/system_de/0/ringtones # /data/system_de/0/ringtones
type ringtone_file, file_type, data_file_type; type ringtone_file, file_type, data_file_type, mlstrustedobject;
# Mount locations managed by vold # Mount locations managed by vold
type mnt_media_rw_file, file_type; type mnt_media_rw_file, file_type;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment