diff options
author | Mike Chan <mike@android.com> | 2010-03-02 10:55:58 -0800 |
---|---|---|
committer | Mike Chan <mike@android.com> | 2010-03-02 18:18:04 -0800 |
commit | 9f6915631b918a56e0e6be958fb14d274cbab322 (patch) | |
tree | 5d3b311f885dd053f4b816f69e8961ee21c37938 /libc/Android.mk | |
parent | bd9a90c443ee4582d2be1a68c6f3a2928d130ce4 (diff) | |
download | bionic-9f6915631b918a56e0e6be958fb14d274cbab322.zip bionic-9f6915631b918a56e0e6be958fb14d274cbab322.tar.gz bionic-9f6915631b918a56e0e6be958fb14d274cbab322.tar.bz2 |
bonic: libc: cpuacct support for setuid functions
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>
Diffstat (limited to 'libc/Android.mk')
-rw-r--r-- | libc/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/Android.mk b/libc/Android.mk index e820b60..97f4011 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -47,7 +47,10 @@ libc_common_src_files := \ unistd/sbrk.c \ unistd/send.c \ unistd/setegid.c \ + unistd/setuid.c \ unistd/seteuid.c \ + unistd/setreuid.c \ + unistd/setresuid.c \ unistd/setpgrp.c \ unistd/sigblock.c \ unistd/siginterrupt.c \ @@ -219,6 +222,7 @@ libc_common_src_files := \ bionic/__errno.c \ bionic/__set_errno.c \ bionic/_rand48.c \ + bionic/cpuacct.c \ bionic/arc4random.c \ bionic/basename.c \ bionic/basename_r.c \ |