syscall.sh / x32 / setuid

setuid

set user identity

sys_setuid(uid_t uid)
number1073741929 (0x40000069)
abicommon
entry pointsys_setuid
sinceLinux 3.4
man pagesetuid(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741929, 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/x32/setuid