Re: [PATCH] x86: tighten kernel image page access rights(re-diff against firstfloor tree)

From: Jan Beulich
Date: Thu Mar 29 2007 - 09:48:57 EST


>>> Andi Kleen <ak@xxxxxxx> 29.03.07 14:22 >>>
>On Thursday 29 March 2007 14:01, Jan Beulich wrote:
>> On x86-64, kernel memory freed after init can be entirely unmapped instead
>> of just getting 'poisoned' by overwriting with a debug pattern.
>>
>> On i386 and x86-64 (under CONFIG_DEBUG_RODATA), kernel text and bug table
>> can also be write-protected.
>>
>> (Not sure what the symbol 'stext' is good for; can it be removed?)
>
>I see you remove it already

I don't think I do - I just move _stext (on x86-64), but leave stext alone.

Jan
-
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/