commit | ebd12ed869fd62fcd1cfeaaaed406a80cd1c7ae5 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Sun Nov 06 13:58:55 2022 +0100 |
committer | Pali Rohár <pali@kernel.org> | Sun Nov 06 13:58:55 2022 +0100 |
tree | 6fb6e725c9abd256b1ec8238bfdfd16a27101c82 | |
parent | 55704534e519d38ed4c2362925b2a68cf4c1e476 [diff] |
i386-io-linux: Prefer usage of ioperm() Since Linux 2.6.8, it is possible to use ioperm() syscall to gain access for all I/O ports. Because iopl() syscall before Linux 5.5 allowed userspace to disable interrupts, prefer usage of ioperm() syscall and ask for access only for PCI ports.