Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Thor Lancelot Simon <tls@netbsd.org>
List: source-changes
Date: 05/30/2007 01:17:36
Module Name:	src
Committed By:	tls
Date:		Wed May 30 01:17:36 UTC 2007

Added Files:
	src/include/ssp: ssp.h stdio.h string.h strings.h unistd.h
	src/lib/libc/ssp: Makefile.inc __builtin_object_size.3 fgets_chk.c
	    gets_chk.c memcpy_chk.c memmove_chk.c memset_chk.c shlib_version
	    snprintf_chk.c sprintf_chk.c ssp.3 strcat_chk.c strcpy_chk.c
	    strncat_chk.c strncpy_chk.c vsnprintf_chk.c vsprintf_chk.c

Log Message:
Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"
(what other systems keep in libssp, we already have in libc) into libc
to match what other systems with FORTIFY_SOURCE do.  Goodbye, libssp
dependency in libraries and executables.  Discussed with christos and
mrg; Christos will merge the headers to get us the rest of the way to a
FORTIFY_SOURCE implementation that works as others' code expects.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/include/ssp/ssp.h src/include/ssp/stdio.h \
    src/include/ssp/string.h src/include/ssp/strings.h \
    src/include/ssp/unistd.h
cvs rdiff -r0 -r1.1 src/lib/libc/ssp/Makefile.inc \
    src/lib/libc/ssp/__builtin_object_size.3 src/lib/libc/ssp/fgets_chk.c \
    src/lib/libc/ssp/gets_chk.c src/lib/libc/ssp/memcpy_chk.c \
    src/lib/libc/ssp/memmove_chk.c src/lib/libc/ssp/memset_chk.c \
    src/lib/libc/ssp/shlib_version src/lib/libc/ssp/snprintf_chk.c \
    src/lib/libc/ssp/sprintf_chk.c src/lib/libc/ssp/ssp.3 \
    src/lib/libc/ssp/strcat_chk.c src/lib/libc/ssp/strcpy_chk.c \
    src/lib/libc/ssp/strncat_chk.c src/lib/libc/ssp/strncpy_chk.c \
    src/lib/libc/ssp/vsnprintf_chk.c src/lib/libc/ssp/vsprintf_chk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.