syscall.sh / x86 / setgroups32
setgroups32
get/set list of supplementary group IDs
sys_setgroups(int gidsetsize, gid_t *grouplist)
| number | 206 (0xce) |
|---|---|
| abi | i386 |
| entry point | sys_setgroups |
| since | Linux 3.3 |
| man page | setgroups32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 206, the syscall number |
ebx | int gidsetsize |
ecx | gid_t *grouplist |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- arm 206
- m68k 206
- microblaze 206
- sh 206
- sparc 82
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/setgroups32