getppid on metag
get process identification
sys_getppid(void)
| number | 173 (0xad) |
|---|---|
| abi | common |
| entry point | sys_getppid |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | getppid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 173, the syscall number |
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 110
- x86 64
- arm64 173
- arm 64
- riscv64 173
- ia32 64
- x32 1073741934
- loongarch64 173
- ppc64 64
- ppc 64
- s390x 64
- mips64 5108
- mipsn32 6108
- mipso32 4064
- alpha 532
- arc 173
- blackfin 64, removed in 4.17
- cris 64, removed in 4.17
- csky 173
- frv 64, removed in 4.17
- hexagon 173
- ia64 1042, removed in 6.7
- m32r 64, removed in 4.17
- m68k 64
- microblaze 64
- mn10300 64, removed in 4.17
- nds32 173, removed in 5.18
- nios2 173
- openrisc 173
- parisc 64
- score 173, removed in 4.17
- sh 64
- sparc 197
- sparc64 197
- tilegx 173, removed in 4.17
- tilepro 173, removed in 4.17
- xtensa 150
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/getppid?kernel=all