syscall.sh / s390x / setgroups

setgroups

get/set list of supplementary group IDs

sys_setgroups(int gidsetsize, gid_t *grouplist)
number206 (0xce)
abicommon
entry pointsys_setgroups
sinceLinux 4.16
man pagesetgroups(2)
sourceelixir.bootlin.com

Registers

registervalue
r1206, 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/setgroups