Subject: _FORTIFY_SOURCE define? (was: CVS commit: src/share/mk)
To: Thor Lancelot Simon <tls@NetBSD.org>
From: Bernd Ernesti <email@example.com>
Date: 05/23/2007 06:27:40
On Tue, May 22, 2007 at 11:58:54PM +0000, Thor Lancelot Simon wrote:
> Module Name: src
> Committed By: tls
> Date: Tue May 22 23:58:54 UTC 2007
> Modified Files:
> src/share/mk: bsd.sys.mk
> Log Message:
> Add -D_FORTIFY_SOURCE=2 where it can safely/sanely be used if building
> with USE_SSP: not in the kernel, and not in libssp itself.
What does _FORTIFY_SOURCE=2 do?
There is no description added around this lines of code what it does and
why it is needed.