syscall.sh / alpha / setgid
setgid
set group identity
sys_setgid(gid_t gid)
| number | 132 (0x84) |
|---|---|
| abi | common |
| entry point | sys_setgid |
| since | Linux 5.0 |
| man page | setgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 132, the syscall number |
a0 | gid_t gid |
v0 | the return value |
Then run callsys to enter the kernel.
Same syscall on other architectures
- x64 106
- x86 46
- arm64 144
- arm 46
- riscv64 144
- x32 1073741930
- loongarch64 144
- ppc64 46
- ppc 46
- s390x 214
- mips64 5104
- mipsn32 6104
- mipso32 4046
- arc 144
- csky 144
- hexagon 144
- m68k 46
- microblaze 46
- nios2 144
- openrisc 144
- parisc 46
- sh 46
- sparc 46
- sparc64 46
- xtensa 138
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/setgid