syscall.sh / microblaze / setuid

setuid

set user identity

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

Registers

registervalue
r1223, the syscall number
r5uid_t uid
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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