opnsense-src/lib/libutil/tests
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
..
cpuset_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
expand_number_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
flopen_test.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
forkpty_test.c forkpty: Avoid fd leak if fork() fails. 2023-08-17 13:48:42 +00:00
grp_test.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
humanize_number_test.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile forkpty: Avoid fd leak if fork() fails. 2023-08-17 13:48:42 +00:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
pidfile_test.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
trimdomain-nodomain_test.c include: ssp: round out fortification of current set of headers 2024-07-13 00:16:24 -05:00
trimdomain_test.c include: ssp: round out fortification of current set of headers 2024-07-13 00:16:24 -05:00