Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 1998 23:55:32 +0200
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        security@FreeBSD.ORG
Subject:   Re: The 99,999-bug question: Why can you execute from the stack?
Message-ID:  <19980719235532.A8630@keltia.freenix.fr>
In-Reply-To: <199807192047.OAA02264@lariat.lariat.org>; from Brett Glass on Sun, Jul 19, 1998 at 02:47:25PM -0600
References:  <199807192047.OAA02264@lariat.lariat.org>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Brett Glass:
> segmentation model normally prevents this, and there's additional hardware
> in the MMU that's supposed to be able to preclude it. Why does the OS leave
> this gigantic hole open? Why not just close it?

As it has been said several times already, gcc itself make code on the
stack a bit difficult to forbid. It generates code on the stack for
"trampolines".
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 3.0-CURRENT #61: Sun Jul 12 14:38:23 CEST 1998

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



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