getpgid on metag
set/get process group
sys_getpgid(pid_t pid)
| number | 155 (0x9b) |
|---|---|
| abi | common |
| entry point | sys_getpgid |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | getpgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 155, the syscall number |
D1Ar1 | pid_t pid |
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 121
- x86 132
- arm64 155
- arm 132
- riscv64 155
- ia32 132
- x32 1073741945
- loongarch64 155
- ppc64 132
- ppc 132
- s390x 132
- mips64 5119
- mipsn32 6119
- mipso32 4132
- alpha 233
- arc 155
- blackfin 132, removed in 4.17
- cris 132, removed in 4.17
- csky 155
- frv 132, removed in 4.17
- hexagon 155
- ia64 1079, removed in 6.7
- m32r 132, removed in 4.17
- m68k 132
- microblaze 132
- mn10300 132, removed in 4.17
- nds32 155, removed in 5.18
- nios2 155
- openrisc 155
- parisc 132
- score 155, removed in 4.17
- sh 132
- sparc 224
- sparc64 224
- tilegx 155, removed in 4.17
- tilepro 155, removed in 4.17
- xtensa 149
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/getpgid?kernel=all