Re: [PATCH] arm: mm: Poison freed init memory

From: Pavel Machek
Date: Tue Jan 11 2011 - 08:33:43 EST


Hi!

> > Ok it seems that 0xcc was chosen by Pavel since it's a breakpoint
> > instruction (sorry for not noticing that earlier [1]).
>
> It may be on x86, but on ARM:
>
> 0: cccccccc stclgt 12, cr12, [ip], {204}
>
> That's a co-processor #12 instruction which will only be executed of
> the processor condition codes satisfy 'gt'.
>
> > There was some discussion about handling initdata with Pavel's patch
> > but it seems that nothing came of it?
>
> I'm not sure who this Pavel is who you keep referring to - the message
> you link to is a discussion between William Irvin and hpa.

I was surprised, too, but it looks like I was the one who ported patch
from x86-64.

I'm not really sure if initdata poisoning happened... it is too long
ago.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/