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/arch-x86/syscalls.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/arch-x86/syscalls.mk')
-rw-r--r-- | libc/arch-x86/syscalls.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/arch-x86/syscalls.mk b/libc/arch-x86/syscalls.mk index 6a528e3..ab026fe 100644 --- a/libc/arch-x86/syscalls.mk +++ b/libc/arch-x86/syscalls.mk @@ -7,7 +7,7 @@ syscall_src += arch-x86/syscalls/_waitpid.S syscall_src += arch-x86/syscalls/waitid.S syscall_src += arch-x86/syscalls/__sys_clone.S syscall_src += arch-x86/syscalls/execve.S -syscall_src += arch-x86/syscalls/setuid.S +syscall_src += arch-x86/syscalls/__setuid.S syscall_src += arch-x86/syscalls/getuid.S syscall_src += arch-x86/syscalls/getgid.S syscall_src += arch-x86/syscalls/geteuid.S @@ -20,8 +20,8 @@ syscall_src += arch-x86/syscalls/getpgid.S syscall_src += arch-x86/syscalls/getppid.S syscall_src += arch-x86/syscalls/setsid.S syscall_src += arch-x86/syscalls/setgid.S -syscall_src += arch-x86/syscalls/setreuid.S -syscall_src += arch-x86/syscalls/setresuid.S +syscall_src += arch-x86/syscalls/__setreuid.S +syscall_src += arch-x86/syscalls/__setresuid.S syscall_src += arch-x86/syscalls/setresgid.S syscall_src += arch-x86/syscalls/__brk.S syscall_src += arch-x86/syscalls/kill.S |