Re: Nokia N900: insecure W+X mapping at 0xd0050000

From: Pavel Machek
Date: Thu Mar 08 2018 - 13:05:26 EST


Hi!

> > * Pavel Machek <pavel@xxxxxx> [180308 06:29]:
> > > Insecure W+X mappings, who cares about those? I have 7 pages...
> >
> > Is this with CONFIG_DEBUG_WX=y?
> >
> > My guess is that it's for mapping the PM assembly to SRAM. This
> > is already fixed for am335x that is using drivers/misc/sram*.c.
> > I think omap2 - omap4 still need fixing if this is the culprit.
>
> Adding Dave to Cc, here's a quick fix for this one.

I did a quick testing and warning is gone. Thanks!

Tested-by: Pavel Machek <pavel@xxxxxx>

Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature