setregid on tilepro
set real and/or effective user or group ID
sys_setregid(gid_t rgid, gid_t egid)
| number | 143 (0x8f) |
|---|---|
| abi | common |
| entry point | sys_setregid |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | setregid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 143, the syscall number |
r0 | gid_t rgid |
r1 | gid_t egid |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 114
- x86 71
- arm64 143
- arm 71
- riscv64 143
- ia32 71
- x32 1073741938
- loongarch64 143
- ppc64 71
- ppc 71
- s390x 204
- mips64 5112
- mipsn32 6112
- mipso32 4071
- alpha 127
- arc 143
- blackfin 71, removed in 4.17
- cris 71, removed in 4.17
- csky 143
- frv 71, removed in 4.17
- hexagon 143
- ia64 1072, removed in 6.7
- m68k 71
- metag 143, removed in 4.17
- microblaze 71
- mn10300 71, removed in 4.17
- nds32 143, removed in 5.18
- nios2 143
- openrisc 143
- parisc 71
- score 143, removed in 4.17
- sh 71
- sparc 127
- sparc64 127
- tilegx 143, removed in 4.17
- xtensa 143
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/setregid?kernel=all