setfsgid on metag
set group identity used for filesystem checks
sys_setfsgid(gid_t gid)
| number | 152 (0x98) |
|---|---|
| abi | common |
| entry point | sys_setfsgid |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | setfsgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 152, the syscall number |
D1Ar1 | gid_t gid |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 123
- x86 139
- arm64 152
- arm 139
- riscv64 152
- ia32 139
- x32 1073741947
- loongarch64 152
- ppc64 139
- ppc 139
- s390x 216
- mips64 5121
- mipsn32 6121
- mipso32 4139
- alpha 326
- arc 152
- blackfin 139, removed in 4.17
- cris 139, removed in 4.17
- csky 152
- frv 139, removed in 4.17
- hexagon 152
- ia64 1143, removed in 6.7
- m68k 139
- microblaze 139
- mn10300 139, removed in 4.17
- nds32 152, removed in 5.18
- nios2 152
- openrisc 152
- parisc 139
- score 152, removed in 4.17
- sh 139
- sparc 229
- sparc64 229
- tilegx 152, removed in 4.17
- tilepro 152, removed in 4.17
- xtensa 181
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/setfsgid?kernel=all