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