getpgid on score
set/get process group
sys_getpgid(pid_t pid)
| number | 155 (0x9b) |
|---|---|
| abi | common |
| entry point | sys_getpgid |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | getpgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 155, the syscall number |
r4 | pid_t pid |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
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
- metag 155, removed in 4.17
- microblaze 132
- mn10300 132, removed in 4.17
- nds32 155, removed in 5.18
- nios2 155
- openrisc 155
- parisc 132
- 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/score/getpgid?kernel=all