HardenedBSD/sys/libkern
Kyle Evans cf8e5289a1 include: ssp: round out fortification of current set of headers
ssp/ssp.h needed some improvements:
 - `len` isn't always a size_t, it may need casted
 - In some cases we may want to use a len that isn't specified as a
    parameter (e.g., L_ctermid), so __ssp_redirect() should be more
    flexible.
 - In other cases we may want additional checking, so pull all of the
    declaration bits out of __ssp_redirect_raw() so that some functions
    can implement the body themselves.

strlcat/strlcpy should be the last of the fortified functions that get
their own __*_chk symbols, and these cases are only done to be
consistent with the rest of the str*() set.

Reviewed by:	markj
Sponsored by:	Klara, Inc.
Sponsored by:	Stormshield
Differential Revision:	https://reviews.freebsd.org/D45679
2024-07-13 00:16:24 -05:00
..
arm sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
arm64
x86
arc4random_uniform.c
arc4random.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ashldi3.c
ashrdi3.c
asprintf.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
bcd.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
bcopy.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
bsearch.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
cmpdi2.c
crc16.c
divdi3.c
divmoddi4.c
explicit_bzero.c include: ssp: round out fortification of current set of headers 2024-07-13 00:16:24 -05:00
fnmatch.c
gsb_crc32.c gsb_crc32.c: avoid gcc -Wunused-const-variable in user build 2024-07-02 12:12:22 -07:00
iconv_converter_if.m
iconv_ucs.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
iconv_xlat16.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
iconv_xlat.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
iconv.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
inet_aton.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
inet_ntoa.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
inet_ntop.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
inet_pton.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
jenkins_hash.c
lshrdi3.c
memcchr.c
memchr.c
memcmp.c
memmem.c
memset.c
moddi3.c
murmur3_32.c
qdivrem.c
qsort_r.c
qsort.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
quad.h sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
random.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
scanc.c
strcasecmp.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strcasestr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strcat.c
strchr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strchrnul.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strcmp.c
strcpy.c
strcspn.c
strdup.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strlcat.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strlcpy.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strlen.c
strncat.c
strncmp.c
strncpy.c
strndup.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strnlen.c
strnstr.c
strrchr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strsep.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strspn.c
strstr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strtol.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strtoq.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strtoul.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strtouq.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
strvalid.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
timingsafe_bcmp.c
ucmpdi2.c
udivdi3.c
udivmoddi4.c
umoddi3.c