lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 1 Nov 2009 15:43:01 +0300
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	Stefani Seibold <stefani@...bold.net>
Cc:	akpm@...ux-foundation.org, m.s.tsirkin@...il.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] proc: fix ->stack_start in compat mode

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@...il.com>
> > ---
> > 
> >  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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ