syscall.sh / m68k / setgroups

setgroups

get/set list of supplementary group IDs

sys_setgroups16(int gidsetsize, old_gid_t *grouplist)
number81 (0x51)
abicommon
entry pointsys_setgroups16
sinceLinux 5.0
man pagesetgroups(2)
sourceelixir.bootlin.com

Registers

registervalue
d081, the syscall number
d1int gidsetsize
d2old_gid_t *grouplist
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/setgroups