aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-07-17 12:04:02 +0100
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-07-18 20:38:40 +0100
commit482ec0c42a6178ae384d114f75bc72aa16526919 (patch)
tree10dda2415183be1916298b499107aaf0d471bdfd
parent0298df1eec5edeca7677c80503ba3b9c8a89aa55 (diff)
downloadsystem_core-482ec0c42a6178ae384d114f75bc72aa16526919.zip
system_core-482ec0c42a6178ae384d114f75bc72aa16526919.tar.gz
system_core-482ec0c42a6178ae384d114f75bc72aa16526919.tar.bz2
Explicitly add the theme manager's AID to fs config
SELinux failed to set the theme manager's context since the app has a fixed non-user ID, and it didn't map to a pseudo-username. Change-Id: I287dc0dd02abc164fe22e14c9f3f505c3dcb938d
-rw-r--r--include/private/android_filesystem_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index 45d9f0f..16efe58 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -64,6 +64,8 @@
#define AID_SDCARD_R 1028 /* external storage read access */
#define AID_AUDIT 1031 /* audit daemon */
+#define AID_THEMEMAN 1300 /* theme manager */
+
#define AID_SHELL 2000 /* adb and debug shell user */
#define AID_CACHE 2001 /* cache access */
#define AID_DIAG 2002 /* access to diagnostic resources */
@@ -175,6 +177,7 @@ static const struct android_id_info android_ids[] = {
#endif
{ "misc", AID_MISC, },
{ "nobody", AID_NOBODY, },
+ { "theme_man", AID_THEMEMAN },
{ "audit", AID_AUDIT, },
};