Subject: Re: ssp and gcc-4.1
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Andrew Reilly <andrew-netbsd@areilly.bpc-users.org>
List: tech-userlevel
Date: 11/07/2006 16:47:40
On Mon, Nov 06, 2006 at 08:39:56PM -0500, Thor Lancelot Simon wrote:
> it will be quite tricky to replace with malloc -- e.g. because it is
> in the VM system itself, or because it is called from interrupt context
> but has no graceful way to report an allocation failure.

Isn't consuming indeterminate quantities of kernel stack space
in interrupt context an extremely bad idea anyway?  What sort of
use is this, really?  It's not as though you can comfortably
back out on a stack protection fault in that situation...

Cheers,

-- 
Andrew