Re: [PATCH v2] RO/NX protection for loadable kernel modules
From: Arjan van de Ven
Date: Wed Jul 01 2009 - 00:57:41 EST
On Tue, 30 Jun 2009 10:44:46 -0400
Siarhei Liakh <sliakh.lkml@xxxxxxxxx> wrote:
> >>
> >> Given that it will not reduce the number of #ifdefs, do you still
> >> think that NX should be made unconditional?
> >
> > I think that not only NX should be made unconditional, I also think
> > that the RO code should be unconditional.
>
> So, the only conditional part would be the page-alignment of each of
> the three parts of a module. Is that correct understanding?
yep
(and for me, even that is debatable, but I can see the point for having
that conditional)
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/