Re: [tip:x86/mm] x86, mm: Set first MB as RW+NX

From: castet . matthieu
Date: Sat Jun 12 2010 - 12:38:42 EST


hi,

> Special accommodations have been made for BIOS32/PCI BIOS services:
> according to BIOS32 specification
> (http://members.datafast.net.au/dft0802/specs/bios32.pdf), at most two
> pages per BIOS32 service should be set executable and no pages need to
> be writeable.
>From my understanding only the service directory take 2 pages.

The no info for the pci service :
- the length field could be used to find the number of page it takes.
- could we assume data ro ?

Also for easier debugging, set_2_pages_rox should print some info.


Matthieu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/