syscall.sh / x32 / mincore
mincore
determine whether pages are resident in memory
sys_mincore(unsigned long start, size_t len, unsigned char *vec)
| number | 1073741851 (0x4000001b) |
|---|---|
| abi | common |
| entry point | sys_mincore |
| since | Linux 3.4 |
| man page | mincore(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073741851, the syscall number |
rdi | unsigned long start |
rsi | size_t len |
rdx | unsigned char *vec |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 27
- x86 218
- arm64 232
- arm 219
- riscv64 232
- loongarch64 232
- ppc64 206
- ppc 206
- s390x 218
- mips64 5026
- mipsn32 6026
- mipso32 4217
- alpha 375
- arc 232
- csky 232
- hexagon 232
- m68k 237
- microblaze 218
- nios2 232
- openrisc 232
- parisc 72
- sh 218
- sparc 78
- sparc64 78
- xtensa 90
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/mincore