Re: [PATCH] x86/mm: Do not warn about PCI BIOS W+X mappings

2018-10-11 Thread Paul Menzel
Dear Thomas, Am 08.10.2018 um 21:53 schrieb Thomas Gleixner: PCI BIOS requires the BIOS area 0x0A-0x0FF to be mapped W+X for various legacy reasons. When CONFIG_DEBUG_WX is enabled, this triggers the WX warning, but this is misleading because the mapping is required and is not a result

Re: [PATCH] x86/mm: Do not warn about PCI BIOS W+X mappings

2018-10-08 Thread Kees Cook
On Mon, Oct 8, 2018 at 12:53 PM, Thomas Gleixner wrote: > PCI BIOS requires the BIOS area 0x0A-0x0FF to be mapped W+X for > various legacy reasons. When CONFIG_DEBUG_WX is enabled, this triggers the > WX warning, but this is misleading because the mapping is required and is > not a result

Re: [PATCH] x86/mm: Do not warn about PCI BIOS W+X mappings

2018-10-08 Thread Borislav Petkov
On Mon, Oct 08, 2018 at 09:53:48PM +0200, Thomas Gleixner wrote: > PCI BIOS requires the BIOS area 0x0A-0x0FF to be mapped W+X for > various legacy reasons. When CONFIG_DEBUG_WX is enabled, this triggers the > WX warning, but this is misleading because the mapping is required and is > not a

[PATCH] x86/mm: Do not warn about PCI BIOS W+X mappings

2018-10-08 Thread Thomas Gleixner
PCI BIOS requires the BIOS area 0x0A-0x0FF to be mapped W+X for various legacy reasons. When CONFIG_DEBUG_WX is enabled, this triggers the WX warning, but this is misleading because the mapping is required and is not a result of an accidental oversight. Prevent the full warning when PCI BI