syscall.sh / m68k / setgid

setgid

set group identity

sys_setgid16(old_gid_t gid)
number46 (0x2e)
abicommon
entry pointsys_setgid16
sinceLinux 5.0
man pagesetgid(2)
sourceelixir.bootlin.com

Registers

registervalue
d046, the syscall number
d1old_gid_t gid
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/setgid