Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 18:37:26 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Kelly Yancey <kbyanc@posi.net>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: kernel stack contents visible from userland 
Message-ID:  <1854.942860246@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 17 Nov 1999 12:01:40 EST." <Pine.BSF.4.05.9911171152270.8195-100000@kronos.alcnet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.05.9911171152270.8195-100000@kronos.alcnet.com>, Kelly Y
ancey writes:
>
>  Is there any security concern with a portion of the kernel's stack being
>visible from userland?

Not as far as I can tell.  The kernel stack is per process, and the
kernel generally doesn't muck with datastructures until it has checked
permissions, so there doesn't seem to be much reason to take the 
performance overhead of zeroing out stuff.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1854.942860246>