[PATCH 0/7] x86: Dom0 I/O port access permissions

Jan Beulich posted 7 patches 11 months, 3 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
[PATCH 0/7] x86: Dom0 I/O port access permissions
Posted by Jan Beulich 11 months, 3 weeks ago
Following on from the CMOS/RTC port aliasing change, there are quite
a few more missing restrictions, and there's more port aliasing to be
aware of.

The last two patches are pretty much RFC for now.

Of course an alternative to all of this would be to do away with all
policy-only ioports_deny_access() in dom0_setup_permissions(), leaving
in place only ones which are truly required for functionality reasons.

1: don't allow Dom0 access to port CF9
2: don't allow Dom0 access to port 92
3: PVH: deny Dom0 access to the ISA DMA controller
4: detect PIC aliasing on ports other than 0x[2A][01]
5: detect PIT aliasing on ports other than 0x4[0-3]
6: don't allow Dom0 (direct) access to port F0
7: don't allow Dom0 access to ELCR ports

Jan