Revert "Add logic to fixup file contexts after a policy update."
This reverts commit ebcf93e3bf.
This commit is contained in:
parent
477e35d6d5
commit
49be240735
1 changed files with 1 additions and 6 deletions
|
|
@ -745,7 +745,7 @@ static int bootchart_init_action(int nargs, char **args)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const struct selinux_opt seopts_prop[] = {
|
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" },
|
{ SELABEL_OPT_PATH, "/property_contexts" },
|
||||||
{ 0, NULL }
|
{ 0, NULL }
|
||||||
};
|
};
|
||||||
|
|
@ -793,11 +793,6 @@ int selinux_reload_policy(void)
|
||||||
selabel_close(sehandle_prop);
|
selabel_close(sehandle_prop);
|
||||||
|
|
||||||
selinux_init_all_handles();
|
selinux_init_all_handles();
|
||||||
|
|
||||||
selinux_android_fixcon("/data");
|
|
||||||
selinux_android_fixcon("/system");
|
|
||||||
selinux_android_fixcon("/dev");
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue