syscall.sh / x64 / ioperm

ioperm

set I/O port permissions

sys_ioperm(unsigned long from, unsigned long num, int turn_on)
number173 (0xad)
abicommon
entry pointsys_ioperm
sinceLinux 3.3
man pageioperm(2)
sourceelixir.bootlin.com

Registers

registervalue
rax173, the syscall number
rdiunsigned long from
rsiunsigned long num
rdxint turn_on
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/ioperm