syscall.sh / xtensa / setuid

setuid

set user identity

sys_setuid(uid_t uid)
number136 (0x88)
abicommon
entry pointsys_setuid
sinceLinux 5.0
man pagesetuid(2)
sourceelixir.bootlin.com

Registers

registervalue
a2136, the syscall number
a6uid_t uid
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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