Re: [PATCH] proc: fix ->stack_start in compat mode

From: Stefani Seibold
Date: Sun Nov 01 2009 - 09:42:53 EST


Am Sonntag, den 01.11.2009, 15:43 +0300 schrieb Alexey Dobriyan:
> On Sun, Nov 01, 2009 at 10:54:05AM +0100, Stefani Seibold wrote:
> > Am Mittwoch, den 28.10.2009, 14:56 +0300 schrieb Alexey Dobriyan:
> > > Assign tsk->stack_start even when doing compat execve(2).
> > >
> > > As side effect, fix segfault inside boehm-gc library.
> > > http://bugzilla.kernel.org/show_bug.cgi?id=14478
> > >
> > > Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
> > > ---
> > >
> > > Michael, please, confirm.
> > >
> > > Stefani, I get "Stack usage: 0 kB", you may want to look at it.
> > >
> >
> > Under which circumstance do you get 0 kb reported? What is your system
> > (mmu/nommu, 32bit/64bit, architecture and so on).
>
> Well, no wonder it doesn't work:
>
> #define KSTK_ESP(tsk) -1 /* sorry. doesn't work for syscall. */
>
> How does it supposed to work on live task?

Can you write it in a full sentence? Where did you located this define?


--
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/