Re: [ 086/149] video:uvesafb: Fix oops that uvesafb try to executeNX-protected page

From: Florian Tobias Schandinat
Date: Sat Mar 31 2012 - 17:12:23 EST


On 03/31/2012 08:37 PM, Alan Cox wrote:
> On Sat, 31 Mar 2012 11:03:17 -0700
> Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
>> On Fri, Mar 30, 2012 at 09:30:52PM +0000, Florian Tobias Schandinat wrote:
>>> Hi Greg,
>>>
>>> On 03/30/2012 07:49 PM, Greg KH wrote:
>>>> 3.2-stable review patch. If anyone has any objections, please let me know.
>>>
>>> the same as for 3.3: This patch would require exporting
>>> 'pcibios_enabled' to not break building uvesafb as a module. As Alan did
>>> not agree with this approach it is not suitable for stable as is.
>>
>> Oops, sorry about that, now removed, thanks for letting me know.
>
> Actually for the backport its probably the right thing to do - its
> simple, clear and slightly ugly, but its fairly provably safe.

Is there a problem with using your preferred solution
"__supported_pte_mask & _PAGE_NX" here?
As far as I can see it should work since 2008.


Best regards,

Florian Tobias Schandinat
--
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/