bionic/libc/arch-x86/syscalls
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
..
__brk.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__fcntl64.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__fcntl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__fork.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__getcwd.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__getpriority.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__ioctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__llseek.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__mmap2.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__open.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__openat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__pread64.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__ptrace.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__pwrite64.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__reboot.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__rt_sigaction.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__rt_sigprocmask.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__rt_sigtimedwait.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__set_thread_area.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__setresuid.S bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
__setreuid.S bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
__setuid.S bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
__sigsuspend.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__statfs64.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__sys_clone.S Implement clone() C library function properly. 2010-01-25 11:18:30 -08:00
__syslog.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_create.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_delete.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_getoverrun.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_gettime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_settime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__wait4.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
_exit_thread.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
_exit.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
_waitpid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
accept.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
access.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
acct.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
bind.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
capget.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
capset.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chmod.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chroot.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
clock_getres.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
clock_gettime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
clock_nanosleep.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
clock_settime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
close.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
connect.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
delete_module.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dup2.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dup.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
epoll_create.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
epoll_ctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
epoll_wait.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
execve.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchmod.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchmodat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchownat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
flock.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fstat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fstatat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fstatfs.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fsync.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ftruncate.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
futex.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getdents.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getegid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
geteuid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getgroups.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getitimer.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getpeername.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getpgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getpid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getppid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getresgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getresuid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getrlimit.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getrusage.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getsockname.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getsockopt.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
gettid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
gettimeofday.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getuid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
init_module.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inotify_add_watch.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inotify_init.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inotify_rm_watch.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ioprio_get.S bionic: syscalls: Add ioprio_set/ioprio_get syscall wrappers 2010-02-23 15:55:29 -08:00
ioprio_set.S bionic: syscalls: Add ioprio_set/ioprio_get syscall wrappers 2010-02-23 15:55:29 -08:00
kill.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
klogctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lchown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
link.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
listen.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lseek.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lstat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
madvise.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mincore.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mkdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mkdirat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mknod.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mlock.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mount.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mprotect.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mremap.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
msync.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
munlock.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
munmap.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
nanosleep.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pause.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pipe.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
poll.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
prctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
read.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
readlink.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
readv.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
recvfrom.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
recvmsg.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
rename.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
renameat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
rmdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_get_priority_max.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_get_priority_min.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_getparam.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_getscheduler.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_rr_get_interval.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_setparam.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_setscheduler.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_yield.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
select.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sendfile.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sendmsg.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sendto.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setgroups.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setitimer.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setpgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setpriority.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setregid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setresgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setrlimit.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setsid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setsockopt.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
settimeofday.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
shutdown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sigaction.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sigaltstack.S add sigaltstack syscall 2010-03-02 11:43:24 +00:00
sigpending.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sigprocmask.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
socket.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
socketpair.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
stat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
symlink.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sync.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
times.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
tkill.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
truncate.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
umask.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
umount2.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
uname.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
unlink.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
unlinkat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utimes.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
waitid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
write.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
writev.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00