syscall.sh / x64 / getpgrp
getpgrp
set/get process group
sys_getpgrp(void)
| number | 111 (0x6f) |
|---|---|
| abi | common |
| entry point | sys_getpgrp |
| since | Linux 3.3 |
| man page | getpgrp(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 111, the syscall number |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 65
- arm 65
- x32 1073741935
- ppc64 65
- ppc 65
- s390x 65
- mips64 5109
- mipsn32 6109
- mipso32 4065
- alpha 63
- m68k 65
- microblaze 65
- parisc 65
- sh 65
- sparc 81
- sparc64 81
- xtensa 151
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/getpgrp