am 16eae482: am 66c2a976: Merge change 24762 into eclair

Merge commit '16eae482cec71f0ca1a2f5e90c85c482577b2cd6'

* commit '16eae482cec71f0ca1a2f5e90c85c482577b2cd6':
  dumpstate: Switch back to running as non-root
This commit is contained in:
Mike Lockwood
2009-09-15 13:18:16 -07:00
committed by Android Git Automerger

View File

@@ -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);