summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrepo sync2013-05-17 14:48:34 -0500
committerrepo sync2013-05-17 14:48:34 -0500
commit49be240735a06f44e1d91aa51dd299779ad36d96 (patch)
treed0d1c52b28cb14907eba184bacdb7494f720cbe5
parent477e35d6d56c7fe9b2305becdf3ed4f590ddfbd6 (diff)
downloadplatform-system-core-49be240735a06f44e1d91aa51dd299779ad36d96.tar.gz
platform-system-core-49be240735a06f44e1d91aa51dd299779ad36d96.tar.xz
platform-system-core-49be240735a06f44e1d91aa51dd299779ad36d96.zip
Revert "Add logic to fixup file contexts after a policy update."
This reverts commit ebcf93e3bf92bf46c54c8e0f2ec8936bb2db6aea.
-rwxr-xr-xinit/init.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/init/init.c b/init/init.c
index 5c03deae0..93b59974f 100755
--- a/init/init.c
+++ b/init/init.c
@@ -745,7 +745,7 @@ static int bootchart_init_action(int nargs, char **args)
745#endif 745#endif
746 746
747static const struct selinux_opt seopts_prop[] = { 747static const struct selinux_opt seopts_prop[] = {
748 { SELABEL_OPT_PATH, "/data/security/current/property_contexts" }, 748 { SELABEL_OPT_PATH, "/data/security/property_contexts" },
749 { SELABEL_OPT_PATH, "/property_contexts" }, 749 { SELABEL_OPT_PATH, "/property_contexts" },
750 { 0, NULL } 750 { 0, NULL }
751}; 751};
@@ -793,11 +793,6 @@ int selinux_reload_policy(void)
793 selabel_close(sehandle_prop); 793 selabel_close(sehandle_prop);
794 794
795 selinux_init_all_handles(); 795 selinux_init_all_handles();
796
797 selinux_android_fixcon("/data");
798 selinux_android_fixcon("/system");
799 selinux_android_fixcon("/dev");
800
801 return 0; 796 return 0;
802} 797}
803 798