process_vm_readv on metag
transfer data between process address spaces
sys_process_vm_readv(pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct iovec *rvec, unsigned long riovcnt, unsigned long flags)
| number | 270 (0x10e) |
|---|---|
| abi | common |
| entry point | sys_process_vm_readv |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | process_vm_readv(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 270, the syscall number |
D1Ar1 | pid_t pid |
D0Ar2 | const struct iovec *lvec |
D1Ar3 | unsigned long liovcnt |
D0Ar4 | const struct iovec *rvec |
D1Ar5 | unsigned long riovcnt |
D0Ar6 | unsigned long flags |
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 310
- x86 347
- arm64 270
- arm 376
- riscv64 270
- ia32 347
- x32 1073742363
- loongarch64 270
- ppc64 351
- ppc 351
- s390x 340
- mips64 5304
- mipsn32 6309
- mipso32 4345
- alpha 504
- arc 270
- blackfin 381, removed in 4.17
- cris 348, removed in 4.17
- csky 270
- hexagon 270
- ia64 1332, removed in 6.7
- m68k 345
- microblaze 377
- nds32 270, removed in 5.18
- nios2 270
- openrisc 270
- parisc 330
- score 270, removed in 4.17
- sh 365
- sparc 338
- sparc64 338
- tilegx 270, removed in 4.17
- tilepro 270, removed in 4.17
- xtensa 322
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/process_vm_readv?kernel=all