getresgid on metag
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.9 or earlier (3.9 is the first release scanned for metag) |
| man page | getresgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 150, the syscall number |
D1Ar1 | gid_t *rgid |
D0Ar2 | gid_t *egid |
D1Ar3 | gid_t *sgid |
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 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
- 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
- tilepro 150, removed in 4.17
- xtensa 147
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/getresgid?kernel=all