syscall.sh / arm / setuid32

setuid32

set user identity

sys_setuid(uid_t uid)
number213 (0xd5)
abicommon
entry pointsys_setuid
sinceLinux 4.10
man pagesetuid32(2)
sourceelixir.bootlin.com

Registers

registervalue
r7213, the syscall number
r0uid_t uid
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/setuid32