syscall.sh / arm / getgroups
getgroups
get/set list of supplementary group IDs
sys_getgroups16(int gidsetsize, old_gid_t *grouplist)
| number | 80 (0x50) |
|---|---|
| abi | common |
| entry point | sys_getgroups16 |
| since | Linux 4.10 |
| man page | getgroups(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 80, the syscall number |
r0 | int gidsetsize |
r1 | old_gid_t *grouplist |
r0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 115
- x86 80
- arm64 158
- riscv64 158
- x32 1073741939
- loongarch64 158
- ppc64 80
- ppc 80
- s390x 205
- mips64 5113
- mipsn32 6113
- mipso32 4080
- alpha 79
- arc 158
- csky 158
- hexagon 158
- m68k 80
- microblaze 80
- nios2 158
- openrisc 158
- parisc 80
- sh 80
- sparc 79
- sparc64 79
- xtensa 196
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/getgroups