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

Modified Files:
	src/include: stdio.h string.h strings.h unistd.h
	src/include/ssp: stdio.h string.h strings.h unistd.h
	src/lib/libc/ssp: Makefile.inc fgets_chk.c gets_chk.c memcpy_chk.c
	    memmove_chk.c memset_chk.c snprintf_chk.c sprintf_chk.c
	    strcat_chk.c strcpy_chk.c strncat_chk.c strncpy_chk.c
	    vsnprintf_chk.c vsprintf_chk.c
	src/share/mk: bsd.sys.mk

Log Message:
Match usage of FORTIFY_SOURCE on other platforms by not requiring special
include path: the normal header files now include the "SSP" ones (which one
should note are not really named right: SSP and FORTIFY_SOURCE are independent
features).

Disable USE_SSP on targets where the compiler doesn't support it at all
(mips, alpha) or it's known broken (sh3).  But enable FORTIFY_SOURCE,
without SSP, on those platforms -- tested on mipsel.


To generate a diff of this commit:
cvs rdiff -r1.68 -r1.69 src/include/stdio.h
cvs rdiff -r1.31 -r1.32 src/include/string.h
cvs rdiff -r1.10 -r1.11 src/include/strings.h
cvs rdiff -r1.110 -r1.111 src/include/unistd.h
cvs rdiff -r1.1 -r1.2 src/include/ssp/stdio.h src/include/ssp/string.h \
    src/include/ssp/strings.h src/include/ssp/unistd.h
cvs rdiff -r1.1 -r1.2 src/lib/libc/ssp/Makefile.inc \
    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/snprintf_chk.c \
    src/lib/libc/ssp/sprintf_chk.c 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
cvs rdiff -r1.149 -r1.150 src/share/mk/bsd.sys.mk

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