syscall.sh / x86 / getgroups32

getgroups32

get/set list of supplementary group IDs

sys_getgroups(int gidsetsize, gid_t *grouplist)
number205 (0xcd)
abii386
entry pointsys_getgroups
sinceLinux 3.3
man pagegetgroups32(2)
sourceelixir.bootlin.com

Registers

registervalue
eax205, the syscall number
ebxint gidsetsize
ecxgid_t *grouplist
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/getgroups32