Re: [Security] proactive defense: using read-only memory, RO/NXmodules

From: Alan Cox
Date: Mon Nov 08 2010 - 05:06:41 EST


> Nice! IMHO we need more of that. (If the readonly section gets big enough in
> practice we could perhaps even mark it large-page in the future. It could serve as
> an allocator to module code as well - that would probably be a speedup even for
> modules.)

You ideally want one other thing to go with it. While a non-guest can't
support it the marking of pages "permanently and irrevocably" readonly in
a guest is something a hypedvisor can happily enforce and provide for the
lifetime of the guest.

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