From 68deff27429f9031d887ff4d04d478e48c06dabe Mon Sep 17 00:00:00 2001 From: Stephen Smalley <sds@tycho.nsa.gov> Date: Mon, 24 Feb 2014 13:17:01 -0500 Subject: [PATCH] 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: Stephen Smalley <sds@tycho.nsa.gov> --- sdcardd.te | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sdcardd.te b/sdcardd.te index 411120a9a..7a06998cf 100644 --- a/sdcardd.te +++ b/sdcardd.te @@ -18,8 +18,3 @@ allow sdcardd media_rw_data_file:file create_file_perms; # Read /data/system/packages.list. 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; -- GitLab