summaryrefslogtreecommitdiffstats
path: root/libc/unistd/seteuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/seteuid.c')
-rw-r--r--libc/unistd/seteuid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/unistd/seteuid.c b/libc/unistd/seteuid.c
index 42ee780..dd94932 100644
--- a/libc/unistd/seteuid.c
+++ b/libc/unistd/seteuid.c
@@ -29,5 +29,6 @@
int seteuid(uid_t euid)
{
- return setresuid(-1, euid,-1);
+ cpuacct_add(euid);
+ return __setresuid(-1, euid,-1);
}