diff options
author | repo sync | 2013-05-17 14:48:34 -0500 |
---|---|---|
committer | repo sync | 2013-05-17 14:48:34 -0500 |
commit | 49be240735a06f44e1d91aa51dd299779ad36d96 (patch) | |
tree | d0d1c52b28cb14907eba184bacdb7494f720cbe5 | |
parent | 477e35d6d56c7fe9b2305becdf3ed4f590ddfbd6 (diff) | |
download | platform-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-x | init/init.c | 7 |
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 | ||
747 | static const struct selinux_opt seopts_prop[] = { | 747 | static 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 | ||