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