syscall.sh / x86 / swapoff

swapoff

start/stop swapping to file/device

sys_swapoff(const char *specialfile)
number115 (0x73)
abii386
entry pointsys_swapoff
sinceLinux 3.3
man pageswapoff(2)
sourceelixir.bootlin.com

Registers

registervalue
eax115, the syscall number
ebxconst char *specialfile
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/swapoff