syscall.sh / sh / setfsgid32
setfsgid32
set group identity used for filesystem checks
sys_setfsgid(gid_t gid)
| number | 216 (0xd8) |
|---|---|
| abi | common |
| entry point | sys_setfsgid |
| since | Linux 5.0 |
| man page | setfsgid32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 216, the syscall number |
r4 | gid_t gid |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
- x86 216
- arm 216
- m68k 216
- microblaze 216
- sparc 94
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/setfsgid32