syscall.sh / alpha / osf_swapon
osf_swapon
sys_swapon(const char *specialfile, int swap_flags)
| number | 199 (0xc7) |
|---|---|
| abi | common |
| entry point | sys_swapon |
| since | Linux 5.0 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 199, the syscall number |
a0 | const char *specialfile |
a1 | int swap_flags |
v0 | the return value |
Then run callsys to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/osf_swapon