syscall.sh / microblaze / 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 5.0 |
| man page | setgroups32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r12 | 206, the syscall number |
r5 | int gidsetsize |
r6 | gid_t *grouplist |
r3 | the return value |
Then run brki r14,8 to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/setgroups32