syscall.sh / arm / setgroups

setgroups

get/set list of supplementary group IDs

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

Registers

registervalue
r781, the syscall number
r0int gidsetsize
r1old_gid_t *grouplist
r0the 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/arm/setgroups