diff options
| author | repo sync <gcondra@google.com> | 2013-05-17 12:48:34 -0700 |
|---|---|---|
| committer | repo sync <gcondra@google.com> | 2013-05-17 12:48:34 -0700 |
| commit | 49be240735a06f44e1d91aa51dd299779ad36d96 (patch) | |
| tree | d0d1c52b28cb14907eba184bacdb7494f720cbe5 | |
| parent | 477e35d6d56c7fe9b2305becdf3ed4f590ddfbd6 (diff) | |
| download | system_core-49be240735a06f44e1d91aa51dd299779ad36d96.zip system_core-49be240735a06f44e1d91aa51dd299779ad36d96.tar.gz system_core-49be240735a06f44e1d91aa51dd299779ad36d96.tar.bz2 | |
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 5c03dea..93b5997 100755 --- a/init/init.c +++ b/init/init.c @@ -745,7 +745,7 @@ static int bootchart_init_action(int nargs, char **args) #endif static const struct selinux_opt seopts_prop[] = { - { SELABEL_OPT_PATH, "/data/security/current/property_contexts" }, + { SELABEL_OPT_PATH, "/data/security/property_contexts" }, { SELABEL_OPT_PATH, "/property_contexts" }, { 0, NULL } }; @@ -793,11 +793,6 @@ int selinux_reload_policy(void) selabel_close(sehandle_prop); selinux_init_all_handles(); - - selinux_android_fixcon("/data"); - selinux_android_fixcon("/system"); - selinux_android_fixcon("/dev"); - return 0; } |
