Commits

Stephen Smalley committed d5ac518

Handle policy reloads within installd rather than restarting it.

Restarting installd upon policy reloads has reportedly caused
stability problems for some users. Stop restarting installd
and instead handle policy reloads within it.

Change-Id: Ic7f310d69a7c420e48fbc974000cf4a5b9ab4a3b
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>

Conflicts:
cmds/installd/installd.c

Comments (0)

Files changed (1)

cmds/installd/installd.c

             }
             buf[count] = 0;
             if (selinux_enabled && selinux_status_updated() > 0) {
-                if (selinux_android_seapp_context_reload() < 0) {
-                    ALOGE("failed to reload seapp_contexts\n");
-                    break;
-                }
+                selinux_android_seapp_context_reload();
             }
             if (execute(s, buf)) break;
         }