Re: + stack-corruption-detector.patch added to -mm tree

From: Matt Mackall
Date: Sun Mar 19 2006 - 16:00:42 EST


On Sun, Mar 19, 2006 at 09:06:46PM +0100, Arjan van de Ven wrote:
> On Sun, 2006-03-19 at 12:26 -0600, Matt Mackall wrote:
> > On Wed, Mar 08, 2006 at 10:16:50PM -0500, Rik van Riel wrote:
> > > On Wed, 8 Mar 2006, akpm@xxxxxxxx wrote:
> > >
> > > > - memset(ret, 0, THREAD_SIZE); \
> > > > + memset(ret, 0x55, THREAD_SIZE); \
> > >
> > > Xen uses 0x55 as a poison pattern too. I wonder if we should
> > > change this one (this one's newer ;)) to something else.
> >
> > I think we should have a central poison.h file.
>
> sure
>
> but it's not like xen is anywhere near mergable, so xen should change if
> anything ;)

Well Xen is a separate problem. But figuring out what poison value
came from where and which values are already used is getting to be an
ugly problem for the kernel itself.

--
Mathematics is the supreme nostalgia of our time.
-
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/