syscall.sh / s390x / getgroups

getgroups

get/set list of supplementary group IDs

sys_getgroups(int gidsetsize, gid_t *grouplist)
number205 (0xcd)
abicommon
entry pointsys_getgroups
sinceLinux 4.16
man pagegetgroups(2)
sourceelixir.bootlin.com

Registers

registervalue
r1205, the syscall number
r2int gidsetsize
r3gid_t *grouplist
r2the 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/s390x/getgroups