Re: [PATCH v8] RO/NX protection for loadable kernel modules

From: H. Peter Anvin
Date: Sun Feb 07 2010 - 20:58:34 EST


On 02/07/2010 05:45 PM, Rusty Russell wrote:
>
> Strict RO/NX protection. But without the option enabled, the patch gives
> best-effort protection, which is nice (for no additional space).
>

Since Linux kernel modules are actually .o's, not .so's, in theory we
could bundle the sections together by type. There could still be
external fragmentation, of course, but on most systems module unload is
relatively rare.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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