getresgid on tilepro
get real, effective, and saved user/group IDs
sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
| number | 150 (0x96) |
|---|---|
| abi | common |
| entry point | sys_getresgid |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | getresgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 150, the syscall number |
r0 | gid_t *rgid |
r1 | gid_t *egid |
r2 | gid_t *sgid |
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 120
- x86 171
- arm64 150
- arm 171
- riscv64 150
- ia32 171
- x32 1073741944
- loongarch64 150
- ppc64 170
- ppc 170
- s390x 211
- mips64 5118
- mipsn32 6118
- mipso32 4191
- alpha 372
- arc 150
- blackfin 171, removed in 4.17
- cris 171, removed in 4.17
- csky 150
- frv 171, removed in 4.17
- hexagon 150
- ia64 1075, removed in 6.7
- m68k 171
- metag 150, removed in 4.17
- microblaze 171
- mn10300 171, removed in 4.17
- nds32 150, removed in 5.18
- nios2 150
- openrisc 150
- parisc 171
- score 150, removed in 4.17
- sh 171
- sparc64 111
- tilegx 150, removed in 4.17
- xtensa 147
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/getresgid?kernel=all