Stephen Smalley  committed 4f91453

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.
Requires Ic7f310d69a7c420e48fbc974000cf4a5b9ab4a3b to add the necessary
interfaces to libselinux.

Change-Id: I697a736d8e414cfc6cfa131ed7b97c7f7694d022
Signed-off-by: Stephen Smalley <>


  • Participants
  • Parent commits 5a8b2a7
  • Branches seandroid

Comments (0)

Files changed (1)

File cmds/installd/installd.c

     struct sockaddr addr;
     socklen_t alen;
     int lsocket, s, count;
-    int selinux_enabled = is_selinux_enabled();
+    int selinux_enabled = (is_selinux_enabled() > 0);
     ALOGI("installd firing up\n");