syscall.sh / x64 / setuid

setuid

set user identity

sys_setuid(uid_t uid)
number105 (0x69)
abicommon
entry pointsys_setuid
sinceLinux 3.3
man pagesetuid(2)
sourceelixir.bootlin.com

Registers

registervalue
rax105, the syscall number
rdiuid_t uid
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/setuid