Re: using segmentation in the kernel

From: Alon Bar-Lev
Date: Tue Oct 11 2005 - 15:55:41 EST


Brian Gerst wrote:
Jonathan M. McCune wrote:

Hello,

Why send the kernel back to the 2.0 days? There is no valid reason for doing this with they way x86 segmentation works, which is why it was done away with in 2.1.


But with segmentation you can set code to be read-only, disallow execution from stack, separate modules so that they will not affect kernel and more...

The main problem with segmentation is that it is x86 specific...

Best Regards,
Alon Bar-Lev.
-
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/