Skip to content
Snippets Groups Projects
Commit 68deff27 authored by Stephen Smalley's avatar Stephen Smalley
Browse files

Remove compatibility rules for old /data/media type.


These are obsoleted by the restorecon_recursive /data/media call
added to the device init*.rc files, e.g.
see I4a191d32a46104a68f6644398c152b274c7937a6
for the hammerhead change.

If/when Ib8d9751a47c8e0238cf499fcec61898937945d9d is merged, this
will also be addressed for all devices by the restorecon_recursive /data
call added to the main init.rc file.

Change-Id: Idbe2006a66817d6bb284d138a7565dec24dc6745
Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
parent 35102f58
No related branches found
No related tags found
No related merge requests found
...@@ -18,8 +18,3 @@ allow sdcardd media_rw_data_file:file create_file_perms; ...@@ -18,8 +18,3 @@ allow sdcardd media_rw_data_file:file create_file_perms;
# Read /data/system/packages.list. # Read /data/system/packages.list.
allow sdcardd system_data_file:file r_file_perms; allow sdcardd system_data_file:file r_file_perms;
# Compatibility for existing devices with /data/media in system_data_file.
# TODO: Remove these lines after we have guaranteed that /data/media has been relabeled to media_rw_data_file.
allow sdcardd system_data_file:dir create_dir_perms;
allow sdcardd system_data_file:file create_file_perms;
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