syscall.sh / x32 / setfsgid
setfsgid
set group identity used for filesystem checks
sys_setfsgid(gid_t gid)
| number | 1073741947 (0x4000007b) |
|---|---|
| abi | common |
| entry point | sys_setfsgid |
| since | Linux 3.4 |
| man page | setfsgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073741947, the syscall number |
rdi | gid_t gid |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 123
- x86 139
- arm64 152
- arm 139
- riscv64 152
- loongarch64 152
- ppc64 139
- ppc 139
- s390x 216
- mips64 5121
- mipsn32 6121
- mipso32 4139
- alpha 326
- arc 152
- csky 152
- hexagon 152
- m68k 139
- microblaze 139
- nios2 152
- openrisc 152
- parisc 139
- sh 139
- sparc 229
- sparc64 229
- xtensa 181
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/setfsgid