Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66c2a976 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 24762 into eclair

* changes:
  dumpstate: Switch back to running as non-root
parents 02ee5387 5a131e52
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -216,11 +216,9 @@ int main(int argc, char *argv[]) {
    } else
        vibrate_fd = -1;

#if 0
    /* switch to non-root user and group */
    setgroups(sizeof(groups)/sizeof(groups[0]), groups);
    setuid(AID_SHELL);
#endif

    /* make it safe to use both printf and STDOUT_FILENO */ 
    setvbuf(stdout, 0, _IONBF, 0);