process_madvise on ia32

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)
number440 (0x1b8)
abii386
kconfigCONFIG_ADVISE_SYSCALLS
entry pointsys_process_madvise
sinceLinux 5.10
man pageprocess_madvise(2)
sourceelixir.bootlin.com

Registers

registervalue
eax440, the syscall number
ebxint pidfd
ecxconst struct iovec *vec
edxsize_t vlen
esiint behavior
ediunsigned int flags
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/process_madvise