syscall.sh / x64 / getgroups

getgroups

get/set list of supplementary group IDs

sys_getgroups(int gidsetsize, gid_t *grouplist)
number115 (0x73)
abicommon
entry pointsys_getgroups
sinceLinux 3.3
man pagegetgroups(2)
sourceelixir.bootlin.com

Registers

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