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

From: Tony Lindgren
Date: Thu Mar 08 2018 - 11:47:01 EST


* Tony Lindgren <tony@xxxxxxxxxxx> [180308 16:25]:
> * 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.

Regards,

Tony

8< -------------------