summaryrefslogtreecommitdiffstats
path: root/libc/unistd/setreuid.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove compiler warnings when building Bionic.David 'Digit' Turner2010-06-221-0/+3
| | | | | | | | Also add missing declarations to misc. functions. Fix clearerr() implementation (previous was broken). Handle feature test macros like _POSIX_C_SOURCE properly. Change-Id: Icdc973a6b9d550a166fc2545f727ea837fe800c4
* bonic: libc: cpuacct support for setuid functionsMike Chan2010-03-021-0/+34
Any of the setuid functions now updates /acct/uid/ with its own tid before changing users. This is so we can properly account for cpu time per uid. Change-Id: I34186cf4d5228cac8439e582a9e26c01ef3011e4 Signed-off-by: Mike Chan <mike@android.com>