syscall.sh / x32 / setgroups

setgroups

get/set list of supplementary group IDs

sys_setgroups(int gidsetsize, gid_t *grouplist)
number1073741940 (0x40000074)
abicommon
entry pointsys_setgroups
sinceLinux 3.4
man pagesetgroups(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741940, the syscall number
rdiint gidsetsize
rsigid_t *grouplist
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/setgroups