Stack smashing protection, also known as ProPolice, is now on by default when using gcc3. (It’s already been on by default for gcc2 for some time now.)
Too bad ProPolice isn’t being integrated into GCC so that more people would bennefit from it. It’s nice that it’s an option for people who know of it’s existence, but from what I’ve seen so far, only OpenBSD and DragonFly include it out of the box.
One more reason to use either OpenBSD or DragonFly I guess ;^)
> but from what I’ve seen so far, only OpenBSD
> and DragonFly include it out of the box.
Nope, Gentoo does too.
I stand corrected! One more reason to use either OpenBSD, DragonFly or Gentoo.
I am not entirely sure about the Gentoo thing. The neat thing about both OpenBSD and (now) DragonFly is that ProPolice is enabled by default, and Gentoo is more of a meta-distribution designed to allow one to build it any way they like; meaning no defualt *anything*.
Please correct me if I’m wrong on this point, but I do not believe that ProPolice is enabled out of the box on Gentoo, and I really don’t care to spend the few hours it’ll take me to read the massive amounts of documentation required for me to install it myself just to check.
DragonFly BSD Digest