syscall.sh / sparc / setuid

setuid

set user identity

sys_setuid16(old_uid_t uid)
number23 (0x17)
abi32
entry pointsys_setuid16
sinceLinux 5.0
man pagesetuid(2)
sourceelixir.bootlin.com

Registers

registervalue
g123, the syscall number
o0old_uid_t uid
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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