platform_bionic/libc/bionic
Mike Chan 9f6915631b 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>
2010-03-02 18:18:04 -08:00
..
__errno.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__set_errno.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
_rand48.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
arc4random.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
atomics_x86.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
basename.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
basename_r.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
bionic_clone.c Implement clone() C library function properly. 2010-01-25 11:18:30 -08:00
clearenv.c Add implementation of fdprintf, clearenv, and stubs for ttyname_r, *usershell 2010-01-15 16:52:35 -08:00
cpuacct.c bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
dirname.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dirname_r.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dlmalloc.c Split libc_debug.so into two .so modules loaded on demand from libc.so 2009-11-18 10:36:25 -08:00
dlmalloc.h Split libc_debug.so into two .so modules loaded on demand from libc.so 2009-11-18 10:36:25 -08:00
drand48.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
eabi.c Fix __eabi_atexit() implementation, as well as a bug in the BSD-originated __cxa_finalize() implementation 2009-05-20 11:42:52 +02:00
erand48.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
err.c Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
fdprintf.c Add implementation of fdprintf, clearenv, and stubs for ttyname_r, *usershell 2010-01-15 16:52:35 -08:00
fork.c bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
fts.c Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
hash.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
if_indextoname.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
if_nametoindex.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ioctl.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ldexp.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
libc_init_common.c Restore malloc debug. 2009-07-21 15:44:23 -07:00
libc_init_common.h Fix the C library runtime initialization order. 2009-07-18 01:11:10 +02:00
libc_init_dynamic.c Split libc_debug.so into two .so modules loaded on demand from libc.so 2009-11-18 10:36:25 -08:00
libc_init_static.c Split libc_debug.so into two .so modules loaded on demand from libc.so 2009-11-18 10:36:25 -08:00
logd_write.c Fix libc logging implementation. 2009-11-30 17:09:45 -08:00
malloc_debug_common.c Merge memory checking functionality from sandbox 2010-02-16 11:43:18 -08:00
malloc_debug_common.h Merge memory checking functionality from sandbox 2010-02-16 11:43:18 -08:00
malloc_debug_leak.c Merge memory checking functionality from sandbox 2010-02-16 11:43:18 -08:00
malloc_debug_qemu.c Merge memory checking functionality from sandbox 2010-02-16 11:43:18 -08:00
md5.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
md5.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pthread-timers.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pthread.c Fix pthread_sigmask() to return correct error values. 2010-03-01 11:30:40 -08:00
pthread_internal.h Revert "Fix the C library initialization to avoid calling static C++ constructors twice." 2009-06-03 19:32:37 +02:00
ptrace.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pututline.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
rand48.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
realpath.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
rules.jam auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
semaphore.c Fix sem_post() behaviour to wake up multiple waiting threads. 2010-02-12 12:50:32 -08:00
sha1.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ssp.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
stubs.c Fix android_id_from_name to accept "app_0" as a valid ID. 2010-02-12 11:35:38 -08:00
system_properties.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
thread_atexit.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
time64.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
time64_config.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utime.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utmp.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00