From 6d8fa69548af532b7d73a21e2d4678f2413c359d Mon Sep 17 00:00:00 2001 From: Stephen Smalley <sds@tycho.nsa.gov> Date: Thu, 27 Mar 2014 11:48:32 -0400 Subject: [PATCH] Move shell entry up with other platform UID entries. This is a trivial change to seapp_contexts to force a relabel of /data/data directories by PMS/installd by yielding a different hash value for comparison against /data/system/seapp_hash. This change does not alter any actual app process or data directory labeling decisions. The seapp_contexts entries are sorted upon loading by libselinux to match the precedence rules described in the comment header, so ordering in this file should not matter. This should not be merged before the code changes with the same Change-Id. Change-Id: Ie440cba2c96f0907458086348197e1506d31c1b6 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> --- seapp_contexts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seapp_contexts b/seapp_contexts index eaa0c16d7..ff0964a28 100644 --- a/seapp_contexts +++ b/seapp_contexts @@ -39,10 +39,10 @@ user=system domain=system_app type=system_data_file user=bluetooth domain=bluetooth type=bluetooth_data_file user=nfc domain=nfc type=nfc_data_file user=radio domain=radio type=radio_data_file +user=shell domain=shell type=shell_data_file user=_app domain=untrusted_app type=app_data_file user=_app seinfo=platform domain=platform_app type=app_data_file user=_app seinfo=shared domain=shared_app type=app_data_file user=_app seinfo=media domain=media_app type=app_data_file user=_app seinfo=release domain=release_app type=app_data_file user=_isolated domain=isolated_app -user=shell domain=shell type=shell_data_file -- GitLab