syscall.sh / x64 / setgroups

setgroups

get/set list of supplementary group IDs

sys_setgroups(int gidsetsize, gid_t *grouplist)
number116 (0x74)
abicommon
entry pointsys_setgroups
sinceLinux 3.3
man pagesetgroups(2)
sourceelixir.bootlin.com

Registers

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