Re: [PATCH] proc: fix ->stack_start in compat mode
From: Alexey Dobriyan
Date: Sun Nov 01 2009 - 07:43:14 EST
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?
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/