From f4c6579b247861ae069ac8152967d913f9b9950f Mon Sep 17 00:00:00 2001 From: Stephen Smalley <sds@tycho.nsa.gov> Date: Wed, 19 Feb 2014 09:49:28 -0500 Subject: [PATCH] Delete unnecessary /data/data entries. /data/data subdirectories are labeled by installd at creation time based on seapp_contexts, not based on file_contexts, so we do not need the /data/data/.* entry, and the wallpaper file was moved from under com.android.settings/files to /data/system/users/N long ago so we can delete the old entry for it. Change-Id: I32af6813ff284e8fe9fd4867df482a642c728755 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> --- file_contexts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/file_contexts b/file_contexts index e0eabe76b..d4315b031 100644 --- a/file_contexts +++ b/file_contexts @@ -194,10 +194,6 @@ /data/misc/wifi/sockets/wpa_ctrl.* u:object_r:system_wpa_socket:s0 /data/misc/zoneinfo(/.*)? u:object_r:zoneinfo_data_file:s0 -# App sandboxes -/data/data/.* u:object_r:app_data_file:s0 -# Wallpaper file. -/data/data/com.android.settings/files/wallpaper u:object_r:wallpaper_file:s0 # Wallpaper file for other users /data/system/users/[0-9]+/wallpaper u:object_r:wallpaper_file:s0 # Downloaded files -- GitLab