[PATCH] Stackgap

Suleiman Souhlal ssouhlal at FreeBSD.org
Fri May 27 19:35:17 PDT 2005


You can find an implementation of stackgap from OpenBSD at http:// 

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 at vt.edu
The FreeBSD Project  | ssouhlal at FreeBSD.org

More information about the freebsd-arch mailing list