syscall.sh / mipso32 / mbind
mbind
set memory policy for a memory range
sys_mbind(unsigned long start, unsigned long len, unsigned long mode, const unsigned long *nmask, unsigned long maxnode, unsigned flags)
| number | 4268 (0x10ac) |
|---|---|
| abi | o32 |
| entry point | sys_mbind |
| since | Linux 5.0 |
| man page | mbind(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4268, the syscall number |
a0 | unsigned long start |
a1 | unsigned long len |
a2 | unsigned long mode |
a3 | const unsigned long *nmask |
sp+16 | unsigned long maxnode |
sp+20 | unsigned flags |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 237
- x86 274
- arm64 235
- arm 319
- riscv64 235
- x32 1073742061
- loongarch64 235
- ppc64 259
- ppc 259
- s390x 268
- mips64 5227
- mipsn32 6231
- arc 235
- csky 235
- hexagon 235
- m68k 268
- microblaze 274
- nios2 235
- openrisc 235
- parisc 260
- sh 274
- sparc 303
- sparc64 303
- xtensa 263
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/mbind