Home | History | Annotate | only in /src/lib/libc/ssp
History log of /src/lib/libc/ssp
RevisionDateAuthorComments
 1.6 15-Nov-2023  christos provide materialized functions for the ssp overriden inlines
 1.5 06-Apr-2014  christos add __stpncpy_chk
 1.4 07-Nov-2013  christos branches: 1.4.2;
we don't support stpncpy until gcc does
 1.3 06-Nov-2013  christos add stp{,n}cpy
 1.2 30-May-2007  tls branches: 1.2.2; 1.2.8; 1.2.40; 1.2.46;
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.
 1.1 30-May-2007  tls 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.
 1.2.46.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.40.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.8.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.2.8.1 30-May-2007  wrstuden file Makefile.inc was added on branch wrstuden-fixsa on 2007-09-03 07:01:19 +0000
 1.2.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.2.2.1 30-May-2007  liamjfoy file Makefile.inc was added on branch netbsd-4 on 2007-07-22 18:44:42 +0000
 1.4.2.1 10-Aug-2014  tls Rebase.
 1.11 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.10 19-Jul-2012  wiz Minus (one) needs a backslash before the minus.
 1.9 18-Jul-2012  christos Explain what's going on with fortify being disabled when the optimizer is off:
http://gcc.gnu.org/ml/gcc-patches/2012-06/msg00174.html
 1.8 19-Dec-2010  jruoho branches: 1.8.6;
Xref __builtin_return_address(3).
 1.7 19-Dec-2010  jruoho Fix SYNOPSIS, add CAVEATS.
 1.6 16-Dec-2010  jruoho Reference __builtin_object_size(3) and attribute(3) with each other.
 1.5 22-Apr-2010  jruoho gcc -> GCC, offset indent.
 1.4 06-Jun-2008  yamt branches: 1.4.6;
fix a typo
 1.3 25-May-2008  wiz Prepare for HTML output. Remove dot at end of SEE ALSO.
 1.2 30-Apr-2008  martin branches: 1.2.2;
Convert TNF licenses to new 2 clause variant
 1.1 30-May-2007  tls branches: 1.1.2; 1.1.8; 1.1.14;
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.
 1.1.14.3 17-Jun-2008  yamt sync with head.
 1.1.14.2 04-Jun-2008  yamt sync with head
 1.1.14.1 18-May-2008  yamt sync with head.
 1.1.8.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.1.8.1 30-May-2007  wrstuden file __builtin_object_size.3 was added on branch wrstuden-fixsa on 2007-09-03 07:01:19 +0000
 1.1.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.1.2.1 30-May-2007  liamjfoy file __builtin_object_size.3 was added on branch netbsd-4 on 2007-07-22 18:44:43 +0000
 1.2.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.6.2 06-Jun-2008  yamt fix a typo
 1.4.6.1 06-Jun-2008  yamt file __builtin_object_size.3 was added on branch christos-time_t on 2008-06-06 05:51:47 +0000
 1.8.6.1 30-Oct-2012  yamt sync with head
 1.6 05-Feb-2009  lukem sign-compare fix
 1.5 28-Apr-2008  martin branches: 1.5.8;
Remove clause 3 and 4 from TNF licenses
 1.4 04-Aug-2007  kristerw branches: 1.4.4; 1.4.10; 1.4.12;
Update includes so that this builds for USE_FORT=no too.
 1.3 03-Jun-2007  christos branches: 1.3.2;
#undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
 1.2 30-May-2007  tls 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.
 1.1 30-May-2007  tls 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.
 1.3.2.3 24-Aug-2007  liamjfoy Pull up following revision(s) (requested by kristerw in ticket #833):
include/unistd.h: revision 1.112
lib/libc/ssp/snprintf_chk.c: revision 1.4
lib/libc/ssp/sprintf_chk.c: revision 1.4
lib/libc/ssp/vsprintf_chk.c: revision 1.4
lib/libc/ssp/gets_chk.c: revision 1.4
include/stdio.h: revision 1.70
lib/libc/ssp/vsnprintf_chk.c: revision 1.4
lib/libc/ssp/fgets_chk.c: revision 1.4
include/strings.h: revision 1.12
include/string.h: revision 1.33
Do not include SSP files unless _FORTIFY_SOURCE > 0.
Update includes so that this builds for USE_FORT=no too.
 1.3.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.3.2.1 03-Jun-2007  liamjfoy file fgets_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:43 +0000
 1.4.12.2 04-Aug-2007  kristerw Update includes so that this builds for USE_FORT=no too.
 1.4.12.1 04-Aug-2007  kristerw file fgets_chk.c was added on branch matt-mips64 on 2007-08-04 19:37:53 +0000
 1.4.10.1 18-May-2008  yamt sync with head.
 1.4.4.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.4.4.1 04-Aug-2007  wrstuden file fgets_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:19 +0000
 1.5.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1 28-Apr-2008  martin file fgets_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.7 04-Oct-2013  christos avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
 1.6 17-Jan-2010  wiz branches: 1.6.6; 1.6.12;
Free malloc()ed buffer in error case. Found by cppcheck.
 1.5 28-Apr-2008  martin branches: 1.5.8;
Remove clause 3 and 4 from TNF licenses
 1.4 04-Aug-2007  kristerw branches: 1.4.4; 1.4.10; 1.4.12;
Update includes so that this builds for USE_FORT=no too.
 1.3 03-Jun-2007  christos branches: 1.3.2;
#undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
 1.2 30-May-2007  tls 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.
 1.1 30-May-2007  tls 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.
 1.3.2.3 24-Aug-2007  liamjfoy Pull up following revision(s) (requested by kristerw in ticket #833):
include/unistd.h: revision 1.112
lib/libc/ssp/snprintf_chk.c: revision 1.4
lib/libc/ssp/sprintf_chk.c: revision 1.4
lib/libc/ssp/vsprintf_chk.c: revision 1.4
lib/libc/ssp/gets_chk.c: revision 1.4
include/stdio.h: revision 1.70
lib/libc/ssp/vsnprintf_chk.c: revision 1.4
lib/libc/ssp/fgets_chk.c: revision 1.4
include/strings.h: revision 1.12
include/string.h: revision 1.33
Do not include SSP files unless _FORTIFY_SOURCE > 0.
Update includes so that this builds for USE_FORT=no too.
 1.3.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.3.2.1 03-Jun-2007  liamjfoy file gets_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:43 +0000
 1.4.12.2 04-Aug-2007  kristerw Update includes so that this builds for USE_FORT=no too.
 1.4.12.1 04-Aug-2007  kristerw file gets_chk.c was added on branch matt-mips64 on 2007-08-04 19:37:53 +0000
 1.4.10.1 18-May-2008  yamt sync with head.
 1.4.4.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.4.4.1 04-Aug-2007  wrstuden file gets_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:20 +0000
 1.5.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1 28-Apr-2008  martin file gets_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.6.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7 13-May-2015  joerg void * is bad for computation, so cast to const char * first.
 1.6 09-May-2015  christos add overlapping pointer checks
 1.5 17-Sep-2014  joerg Provide explicit prototypes in case HAVE_SSP=no.
 1.4 28-Apr-2008  martin branches: 1.4.8;
Remove clause 3 and 4 from TNF licenses
 1.3 03-Jun-2007  christos branches: 1.3.2; 1.3.8; 1.3.14;
#undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
 1.2 30-May-2007  tls 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.
 1.1 30-May-2007  tls 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.
 1.3.14.1 18-May-2008  yamt sync with head.
 1.3.8.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.3.8.1 03-Jun-2007  wrstuden file memcpy_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:20 +0000
 1.3.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.3.2.1 03-Jun-2007  liamjfoy file memcpy_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:44 +0000
 1.4.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4.8.1 28-Apr-2008  martin file memcpy_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.6 05-Sep-2020  mrg make the 2nd argument to __memmove_chk() const
 1.5 17-Sep-2014  joerg Provide explicit prototypes in case HAVE_SSP=no.
 1.4 28-Apr-2008  martin branches: 1.4.8;
Remove clause 3 and 4 from TNF licenses
 1.3 03-Jun-2007  christos branches: 1.3.2; 1.3.8; 1.3.14;
#undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
 1.2 30-May-2007  tls 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.
 1.1 30-May-2007  tls 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.
 1.3.14.1 18-May-2008  yamt sync with head.
 1.3.8.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.3.8.1 03-Jun-2007  wrstuden file memmove_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:20 +0000
 1.3.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.3.2.1 03-Jun-2007  liamjfoy file memmove_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:44 +0000
 1.4.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4.8.1 28-Apr-2008  martin file memmove_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.5 17-Sep-2014  joerg Provide explicit prototypes in case HAVE_SSP=no.
 1.4 28-Apr-2008  martin branches: 1.4.8;
Remove clause 3 and 4 from TNF licenses
 1.3 03-Jun-2007  christos branches: 1.3.2; 1.3.8; 1.3.14;
#undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
 1.2 30-May-2007  tls 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.
 1.1 30-May-2007  tls 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.
 1.3.14.1 18-May-2008  yamt sync with head.
 1.3.8.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.3.8.1 03-Jun-2007  wrstuden file memset_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:21 +0000
 1.3.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.3.2.1 03-Jun-2007  liamjfoy file memset_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:45 +0000
 1.4.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4.8.1 28-Apr-2008  martin file memset_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.2 31-May-2007  christos this is not needed.
 1.1 30-May-2007  tls 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.
 1.5 28-Apr-2008  martin branches: 1.5.8;
Remove clause 3 and 4 from TNF licenses
 1.4 04-Aug-2007  kristerw branches: 1.4.4; 1.4.10; 1.4.12;
Update includes so that this builds for USE_FORT=no too.
 1.3 03-Jun-2007  christos branches: 1.3.2;
#undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
 1.2 30-May-2007  tls 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.
 1.1 30-May-2007  tls 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.
 1.3.2.3 24-Aug-2007  liamjfoy Pull up following revision(s) (requested by kristerw in ticket #833):
include/unistd.h: revision 1.112
lib/libc/ssp/snprintf_chk.c: revision 1.4
lib/libc/ssp/sprintf_chk.c: revision 1.4
lib/libc/ssp/vsprintf_chk.c: revision 1.4
lib/libc/ssp/gets_chk.c: revision 1.4
include/stdio.h: revision 1.70
lib/libc/ssp/vsnprintf_chk.c: revision 1.4
lib/libc/ssp/fgets_chk.c: revision 1.4
include/strings.h: revision 1.12
include/string.h: revision 1.33
Do not include SSP files unless _FORTIFY_SOURCE > 0.
Update includes so that this builds for USE_FORT=no too.
 1.3.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.3.2.1 03-Jun-2007  liamjfoy file snprintf_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:45 +0000
 1.4.12.2 04-Aug-2007  kristerw Update includes so that this builds for USE_FORT=no too.
 1.4.12.1 04-Aug-2007  kristerw file snprintf_chk.c was added on branch matt-mips64 on 2007-08-04 19:37:53 +0000
 1.4.10.1 18-May-2008  yamt sync with head.
 1.4.4.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.4.4.1 04-Aug-2007  wrstuden file snprintf_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:21 +0000
 1.5.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1 28-Apr-2008  martin file snprintf_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.6 05-Feb-2009  lukem sign-compare fix
 1.5 28-Apr-2008  martin branches: 1.5.8;
Remove clause 3 and 4 from TNF licenses
 1.4 04-Aug-2007  kristerw branches: 1.4.4; 1.4.10; 1.4.12;
Update includes so that this builds for USE_FORT=no too.
 1.3 03-Jun-2007  christos branches: 1.3.2;
#undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
 1.2 30-May-2007  tls 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.
 1.1 30-May-2007  tls 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.
 1.3.2.3 24-Aug-2007  liamjfoy Pull up following revision(s) (requested by kristerw in ticket #833):
include/unistd.h: revision 1.112
lib/libc/ssp/snprintf_chk.c: revision 1.4
lib/libc/ssp/sprintf_chk.c: revision 1.4
lib/libc/ssp/vsprintf_chk.c: revision 1.4
lib/libc/ssp/gets_chk.c: revision 1.4
include/stdio.h: revision 1.70
lib/libc/ssp/vsnprintf_chk.c: revision 1.4
lib/libc/ssp/fgets_chk.c: revision 1.4
include/strings.h: revision 1.12
include/string.h: revision 1.33
Do not include SSP files unless _FORTIFY_SOURCE > 0.
Update includes so that this builds for USE_FORT=no too.
 1.3.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.3.2.1 03-Jun-2007  liamjfoy file sprintf_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:46 +0000
 1.4.12.2 04-Aug-2007  kristerw Update includes so that this builds for USE_FORT=no too.
 1.4.12.1 04-Aug-2007  kristerw file sprintf_chk.c was added on branch matt-mips64 on 2007-08-04 19:37:53 +0000
 1.4.10.1 18-May-2008  yamt sync with head.
 1.4.4.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.4.4.1 04-Aug-2007  wrstuden file sprintf_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:21 +0000
 1.5.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1 28-Apr-2008  martin file sprintf_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.9 03-Dec-2015  christos It is wrong to -I/usr/include/ssp
 1.8 07-Nov-2013  christos we don't support stpncpy until gcc does
 1.7 06-Nov-2013  christos fix doc for strcpy, strcat
add stp{,n}cpy
 1.6 21-Mar-2011  jruoho branches: 1.6.4; 1.6.10;
Fix xref; security(8) -> security(7).
 1.5 19-Dec-2010  jruoho Small modifications to wording, tidy up SEE ALSO.
 1.4 25-May-2008  wiz branches: 1.4.6;
Remove trailing whitespace. Fix typo. Sort SEE ALSO.
 1.3 30-Apr-2008  martin branches: 1.3.2;
Convert TNF licenses to new 2 clause variant
 1.2 20-Aug-2007  perry branches: 1.2.4; 1.2.10;
Never use "utilize". It means exactly the same thing as "use", but it
is longer and more cumbersome. It can always be replaced with "use"
without any change in meaning.
 1.1 30-May-2007  tls branches: 1.1.2;
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.
 1.1.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.1.2.1 30-May-2007  liamjfoy file ssp.3 was added on branch netbsd-4 on 2007-07-22 18:44:46 +0000
 1.2.10.2 04-Jun-2008  yamt sync with head
 1.2.10.1 18-May-2008  yamt sync with head.
 1.2.4.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.2.4.1 20-Aug-2007  wrstuden file ssp.3 was added on branch wrstuden-fixsa on 2007-09-03 07:01:22 +0000
 1.3.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.6.2 25-May-2008  wiz Remove trailing whitespace. Fix typo. Sort SEE ALSO.
 1.4.6.1 25-May-2008  wiz file ssp.3 was added on branch christos-time_t on 2008-05-25 20:07:15 +0000
 1.6.10.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.4.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.2 15-Nov-2023  christos don't expose extra symbols.
 1.1 15-Nov-2023  christos provide materialized functions for the ssp overriden inlines
 1.6 09-May-2015  christos add overlapping pointer checks
 1.5 06-Apr-2014  christos branches: 1.5.2; 1.5.6;
fix incorrect bounds check
 1.4 06-Apr-2014  christos fix the limit check.
 1.3 06-Apr-2014  christos fix off by one in stpcpy_chk.

christos
 1.2 06-Nov-2013  christos branches: 1.2.2;
handle old gcc
 1.1 06-Nov-2013  christos add stp{,n}cpy
 1.2.2.1 10-Aug-2014  tls Rebase.
 1.5.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.6.1 06-Apr-2014  tls file stpcpy_chk.c was added on branch tls-maxphys on 2014-08-20 00:02:16 +0000
 1.5.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5.2.1 06-Apr-2014  yamt file stpcpy_chk.c was added on branch yamt-pagecache on 2014-05-22 11:36:53 +0000
 1.3 09-May-2015  christos add overlapping pointer checks
 1.2 06-Nov-2013  christos branches: 1.2.4; 1.2.8;
handle old gcc
 1.1 06-Nov-2013  christos add stp{,n}cpy
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 06-Nov-2013  tls file stpncpy_chk.c was added on branch tls-maxphys on 2014-08-20 00:02:16 +0000
 1.2.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.4.1 06-Nov-2013  yamt file stpncpy_chk.c was added on branch yamt-pagecache on 2014-05-22 11:36:54 +0000
 1.5 17-Sep-2014  joerg Provide explicit prototypes in case HAVE_SSP=no.
 1.4 17-Nov-2009  drochner make the "src" strings const as in the unchecked equivalents
 1.3 28-Apr-2008  martin branches: 1.3.8;
Remove clause 3 and 4 from TNF licenses
 1.2 30-May-2007  tls branches: 1.2.2; 1.2.8; 1.2.14;
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.
 1.1 30-May-2007  tls 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.
 1.2.14.1 18-May-2008  yamt sync with head.
 1.2.8.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.2.8.1 30-May-2007  wrstuden file strcat_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:22 +0000
 1.2.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.2.2.1 30-May-2007  liamjfoy file strcat_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:47 +0000
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file strcat_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.8 09-May-2015  christos add overlapping pointer checks
 1.7 17-Sep-2014  joerg Provide explicit prototypes in case HAVE_SSP=no.
 1.6 06-Nov-2013  christos simplify
 1.5 28-Dec-2010  christos branches: 1.5.6; 1.5.12;
off by one
 1.4 28-Apr-2008  martin branches: 1.4.8;
Remove clause 3 and 4 from TNF licenses
 1.3 03-Jun-2007  christos branches: 1.3.2; 1.3.8; 1.3.14;
#undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
 1.2 30-May-2007  tls 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.
 1.1 30-May-2007  tls 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.
 1.3.14.1 18-May-2008  yamt sync with head.
 1.3.8.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.3.8.1 03-Jun-2007  wrstuden file strcpy_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:23 +0000
 1.3.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.3.2.1 03-Jun-2007  liamjfoy file strcpy_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:47 +0000
 1.4.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4.8.1 28-Apr-2008  martin file strcpy_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.5.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5 17-Sep-2014  joerg Provide explicit prototypes in case HAVE_SSP=no.
 1.4 17-Nov-2009  drochner make the "src" strings const as in the unchecked equivalents
 1.3 28-Apr-2008  martin branches: 1.3.8;
Remove clause 3 and 4 from TNF licenses
 1.2 30-May-2007  tls branches: 1.2.2; 1.2.8; 1.2.14;
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.
 1.1 30-May-2007  tls 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.
 1.2.14.1 18-May-2008  yamt sync with head.
 1.2.8.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.2.8.1 30-May-2007  wrstuden file strncat_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:23 +0000
 1.2.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.2.2.1 30-May-2007  liamjfoy file strncat_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:48 +0000
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file strncat_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.6 09-May-2015  christos add overlapping pointer checks
 1.5 17-Sep-2014  joerg Provide explicit prototypes in case HAVE_SSP=no.
 1.4 28-Apr-2008  martin branches: 1.4.8;
Remove clause 3 and 4 from TNF licenses
 1.3 03-Jun-2007  christos branches: 1.3.2; 1.3.8; 1.3.14;
#undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
 1.2 30-May-2007  tls 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.
 1.1 30-May-2007  tls 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.
 1.3.14.1 18-May-2008  yamt sync with head.
 1.3.8.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.3.8.1 03-Jun-2007  wrstuden file strncpy_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:24 +0000
 1.3.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.3.2.1 03-Jun-2007  liamjfoy file strncpy_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:48 +0000
 1.4.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4.8.1 28-Apr-2008  martin file strncpy_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.5 28-Apr-2008  martin branches: 1.5.8;
Remove clause 3 and 4 from TNF licenses
 1.4 04-Aug-2007  kristerw branches: 1.4.4; 1.4.10; 1.4.12;
Update includes so that this builds for USE_FORT=no too.
 1.3 03-Jun-2007  christos branches: 1.3.2;
#undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
 1.2 30-May-2007  tls 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.
 1.1 30-May-2007  tls 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.
 1.3.2.3 24-Aug-2007  liamjfoy Pull up following revision(s) (requested by kristerw in ticket #833):
include/unistd.h: revision 1.112
lib/libc/ssp/snprintf_chk.c: revision 1.4
lib/libc/ssp/sprintf_chk.c: revision 1.4
lib/libc/ssp/vsprintf_chk.c: revision 1.4
lib/libc/ssp/gets_chk.c: revision 1.4
include/stdio.h: revision 1.70
lib/libc/ssp/vsnprintf_chk.c: revision 1.4
lib/libc/ssp/fgets_chk.c: revision 1.4
include/strings.h: revision 1.12
include/string.h: revision 1.33
Do not include SSP files unless _FORTIFY_SOURCE > 0.
Update includes so that this builds for USE_FORT=no too.
 1.3.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.3.2.1 03-Jun-2007  liamjfoy file vsnprintf_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:48 +0000
 1.4.12.2 04-Aug-2007  kristerw Update includes so that this builds for USE_FORT=no too.
 1.4.12.1 04-Aug-2007  kristerw file vsnprintf_chk.c was added on branch matt-mips64 on 2007-08-04 19:37:53 +0000
 1.4.10.1 18-May-2008  yamt sync with head.
 1.4.4.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.4.4.1 04-Aug-2007  wrstuden file vsnprintf_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:24 +0000
 1.5.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1 28-Apr-2008  martin file vsnprintf_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000
 1.6 05-Feb-2009  lukem sign-compare fix
 1.5 28-Apr-2008  martin branches: 1.5.8;
Remove clause 3 and 4 from TNF licenses
 1.4 04-Aug-2007  kristerw branches: 1.4.4; 1.4.10; 1.4.12;
Update includes so that this builds for USE_FORT=no too.
 1.3 03-Jun-2007  christos branches: 1.3.2;
#undef the fortified functions we use, otherwise we end up calling ourselves
recursively.
XXX: Do we need namespace.h here?
 1.2 30-May-2007  tls 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.
 1.1 30-May-2007  tls 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.
 1.3.2.3 24-Aug-2007  liamjfoy Pull up following revision(s) (requested by kristerw in ticket #833):
include/unistd.h: revision 1.112
lib/libc/ssp/snprintf_chk.c: revision 1.4
lib/libc/ssp/sprintf_chk.c: revision 1.4
lib/libc/ssp/vsprintf_chk.c: revision 1.4
lib/libc/ssp/gets_chk.c: revision 1.4
include/stdio.h: revision 1.70
lib/libc/ssp/vsnprintf_chk.c: revision 1.4
lib/libc/ssp/fgets_chk.c: revision 1.4
include/strings.h: revision 1.12
include/string.h: revision 1.33
Do not include SSP files unless _FORTIFY_SOURCE > 0.
Update includes so that this builds for USE_FORT=no too.
 1.3.2.2 22-Jul-2007  liamjfoy Pull up to netbsd-4 (requested by christos in ticket #773):

Move libssp to libc.
 1.3.2.1 03-Jun-2007  liamjfoy file vsprintf_chk.c was added on branch netbsd-4 on 2007-07-22 18:44:49 +0000
 1.4.12.2 04-Aug-2007  kristerw Update includes so that this builds for USE_FORT=no too.
 1.4.12.1 04-Aug-2007  kristerw file vsprintf_chk.c was added on branch matt-mips64 on 2007-08-04 19:37:53 +0000
 1.4.10.1 18-May-2008  yamt sync with head.
 1.4.4.2 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.4.4.1 04-Aug-2007  wrstuden file vsprintf_chk.c was added on branch wrstuden-fixsa on 2007-09-03 07:01:24 +0000
 1.5.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1 28-Apr-2008  martin file vsprintf_chk.c was added on branch christos-time_t on 2008-04-28 20:23:01 +0000

RSS XML Feed