Commits

William Roberts committed 77e151b

Add new location for policy files

Add new location for policy, /data/security, which has
precedence over /data/system

Change-Id: If75da3889c75ca83eb7dbd6e5540657a4cf65831

Comments (0)

Files changed (1)

  * on app data directories.
  */
 static char const * const seapp_contexts_file[] = {
+	"/data/security/seapp_contexts",
 	"/data/system/seapp_contexts",
 	"/seapp_contexts",
 	0 };
 
 static const struct selinux_opt seopts[] = {
+	{ SELABEL_OPT_PATH, "/data/security/file_contexts" },
 	{ SELABEL_OPT_PATH, "/data/system/file_contexts" },
 	{ SELABEL_OPT_PATH, "/file_contexts" },
 	{ 0, NULL } };
 
 static const char *const sepolicy_file[] = {
+        "/data/security/sepolicy",
         "/data/system/sepolicy",
         "/sepolicy",
         0 };