syscall.sh / x86 / setgroups32

setgroups32

get/set list of supplementary group IDs

sys_setgroups(int gidsetsize, gid_t *grouplist)
number206 (0xce)
abii386
entry pointsys_setgroups
sinceLinux 3.3
man pagesetgroups32(2)
sourceelixir.bootlin.com

Registers

registervalue
eax206, 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/setgroups32