Subject: Re: CVS commit: src/lib/libssp
To: Christos Zoulas <christos@netbsd.org>
From: Tom Spindler <dogcow@babymeat.com>
List: source-changes
Date: 11/08/2006 12:49:16
> Add a BSD-licensed re-implementation of the gcc-4.1 libssp.
> This adds bounds checking for the following functions:
> 
>     memset, fgets, gets, memcpy, memmove, memset, snprintf, sprintf, strcat,
>     strcpy, strncat, strncpy, vsnprintf, vsprintf
> 
> This functionality is enabled by compiling with:
> 
> 	gcc -I/usr/include/ssp -D_FORTIFY_SOURCE=<1|2> -lssp

Can this be documented somewhere, along with what difference 1 or
2 makes in the define? src/lib/libssp/ssp.3, perhaps?