syscall.sh / arm / process_madvise
process_madvise
give advice about use of memory to a process
sys_process_madvise(int pidfd, const struct iovec *vec, size_t vlen, int behavior, unsigned int flags)
| number | 440 (0x1b8) |
|---|---|
| abi | common |
| entry point | sys_process_madvise |
| since | Linux 5.10 |
| man page | process_madvise(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 440, the syscall number |
r0 | int pidfd |
r1 | const struct iovec *vec |
r2 | size_t vlen |
r3 | int behavior |
r4 | unsigned int flags |
r0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 440
- x86 440
- arm64 440
- riscv64 440
- x32 1073742264
- loongarch64 440
- ppc64 440
- ppc 440
- s390x 440
- mips64 5440
- mipsn32 6440
- mipso32 4440
- alpha 550
- arc 440
- csky 440
- hexagon 440
- m68k 440
- microblaze 440
- nios2 440
- openrisc 440
- parisc 440
- sh 440
- sparc 440
- sparc64 440
- xtensa 440
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/process_madvise