syscall.sh / csky / getgroups

getgroups

get/set list of supplementary group IDs

sys_getgroups(int gidsetsize, gid_t *grouplist)
number158 (0x9e)
abicommon
entry pointsys_getgroups
sinceLinux 4.20
man pagegetgroups(2)
sourceelixir.bootlin.com

Registers

registervalue
r7158, the syscall number
a0int gidsetsize
a1gid_t *grouplist
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/getgroups