syscall.sh / m68k / setuid

setuid

set user identity

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

Registers

registervalue
d023, the syscall number
d1old_uid_t uid
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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