setpgid on tilepro
set/get process group
sys_setpgid(pid_t pid, pid_t pgid)
| number | 154 (0x9a) |
|---|---|
| abi | common |
| entry point | sys_setpgid |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | setpgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 154, the syscall number |
r0 | pid_t pid |
r1 | pid_t pgid |
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 109
- x86 57
- arm64 154
- arm 57
- riscv64 154
- ia32 57
- x32 1073741933
- loongarch64 154
- ppc64 57
- ppc 57
- s390x 57
- mips64 5107
- mipsn32 6107
- mipso32 4057
- alpha 39
- arc 154
- blackfin 57, removed in 4.17
- cris 57, removed in 4.17
- csky 154
- frv 57, removed in 4.17
- hexagon 154
- ia64 1080, removed in 6.7
- m32r 57, removed in 4.17
- m68k 57
- metag 154, removed in 4.17
- microblaze 57
- mn10300 57, removed in 4.17
- nds32 154, removed in 5.18
- nios2 154
- openrisc 154
- parisc 57
- score 154, removed in 4.17
- sh 57
- sparc 185
- sparc64 185
- tilegx 154, removed in 4.17
- xtensa 148
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/setpgid?kernel=all