[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnumach - Restrict pci io cfg ports to one process
From: |
Damien Zammit |
Subject: |
Re: [PATCH] gnumach - Restrict pci io cfg ports to one process |
Date: |
Sun, 11 Nov 2018 12:43:07 +1100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 10/11/18 20:50, Samuel Thibault wrote:
> The data register port is 0xCFC + (reg & 3); so it could be as much as
> 0xCFF.
>
> The x86 conf2 method also uses 0xC000 | dev << 8 | reg; so we need to
> also protect 0xc000 - 0xcfff.
See attached patch with corrections.
Thanks, Damien
0001-gnumach-restrict-access-to-PCI-cfg.patch
Description: Text Data