syscall.sh / x32 / getgroups

getgroups

get/set list of supplementary group IDs

sys_getgroups(int gidsetsize, gid_t *grouplist)
number1073741939 (0x40000073)
abicommon
entry pointsys_getgroups
sinceLinux 3.4
man pagegetgroups(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741939, 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/getgroups