Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2005 22:35:03 -0400
From:      Suleiman Souhlal <ssouhlal@FreeBSD.org>
To:        arch@FreeBSD.org
Subject:   [PATCH] Stackgap
Message-ID:  <CC7E6E83-2C2D-46FF-A816-CAD6F16CDA1B@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi!

You can find an implementation of stackgap from OpenBSD at http:// 
people.freebsd.org/~ssouhlal/testing/stackgap-20050527.diff

You can control the range of the random stack gap with the  
kern.stackgap_random  sysctl. A value of 0 disables it. Otherwise, it  
has to be a power of 2 and not too large. The default value is 64K.

I've only had the chance to test this on i386. Could anyone test it  
on other architectures as well?

Any comments/objections?
--
Suleiman Souhlal     | ssouhlal@vt.edu
The FreeBSD Project  | ssouhlal@FreeBSD.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CC7E6E83-2C2D-46FF-A816-CAD6F16CDA1B>