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] [day] [month] [year] [list]
Date:	Sun, 01 Nov 2009 16:06:46 +0100
From:	Stefani Seibold <stefani@...bold.net>
To:	Alexey Dobriyan <adobriyan@...il.com>
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

Am Sonntag, den 01.11.2009, 15:43 +0300 schrieb Alexey Dobriyan:
> > >  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?

Okay, you are right. That's really strange. I just build a 64 bit kernel
i will try to fix this odd behavior. This is a break in the kernel API.
KSTP_ESP should return the value of the kernel stack and not a -1. Sh..


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