Update copyright notices with scripts/update-copyrights.
[glibc.git] / sysdeps / unix / sysv / linux / local-setxid.h
blob97d787d9426973051a302676fc45e113cf3b526c
1 /* SETxID functions which only have to change the local thread and
2 none of the possible other threads. */
3 #include <sysdep.h>
5 #ifdef __NR_setresuid32
6 # define local_seteuid(id) INLINE_SYSCALL (setresuid32, 3, -1, id, -1)
7 #else
8 # define local_seteuid(id) INLINE_SYSCALL (setresuid, 3, -1, id, -1)
9 #endif
12 #ifdef __NR_setresgid32
13 # define local_setegid(id) INLINE_SYSCALL (setresgid32, 3, -1, id, -1)
14 #else
15 # define local_setegid(id) INLINE_SYSCALL (setresgid, 3, -1, id, -1)
16 #endif