summaryrefslogtreecommitdiffstats
path: root/init/property_service.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/property_service.c')
-rwxr-xr-xinit/property_service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/property_service.c b/init/property_service.c
index e8c8869..0989e6d 100755
--- a/init/property_service.c
+++ b/init/property_service.c
@@ -388,6 +388,9 @@ int property_set(const char *name, const char *value)
* to prevent them from being overwritten by default values.
*/
write_persistent_property(name, value);
+ } else if (strcmp("selinux.reload_policy", name) == 0 &&
+ strcmp("1", value) == 0) {
+ selinux_reload_policy();
}
property_changed(name, value);
return 0;