opnsense-src/lib/libutil
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
..
tests include: ssp: round out fortification of current set of headers 2024-07-13 00:16:24 -05:00
_secure_path.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
_secure_path.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
auth.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
cpuset.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
cpuset.c cpuset(3): Move cpuset's parselist function into libutil 2023-06-01 23:16:01 +02:00
expand_number.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
expand_number.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
flopen.3 Remove my middle name. 2023-08-17 15:08:30 +02:00
flopen.c Remove my middle name. 2023-08-17 15:08:30 +02:00
fparseln.3 fparseln: Update license 2024-06-15 18:30:27 -05:00
fparseln.c fparseln: Update license 2024-06-15 18:30:27 -05:00
ftime.3 libutil: move ftime to libutil 2024-05-29 14:36:09 +02:00
ftime.c libutil: move ftime to libutil 2024-05-29 14:36:09 +02:00
getlocalbase.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
getlocalbase.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
gr_util.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
hexdump.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
hexdump.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
humanize_number.3 Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
humanize_number.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
kinfo_getallproc.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
kinfo_getallproc.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
kinfo_getfile.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
kinfo_getfile.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
kinfo_getproc.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
kinfo_getproc.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
kinfo_getvmmap.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
kinfo_getvmmap.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
kinfo_getvmobject.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
kinfo_getvmobject.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
kld.3 Remove my middle name. 2023-08-17 15:08:30 +02:00
kld.c Remove my middle name. 2023-08-17 15:08:30 +02:00
libutil.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
login.conf.5 login.conf(5): Document priority's special value 'inherit' 2024-01-29 22:58:09 +01:00
login_auth.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
login_auth.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
login_cap.3 login_cap(3): Document login_getcapenum() 2024-01-29 22:58:05 +01:00
login_cap.c New login_getcapenum(): Allows to read named enum values 2024-01-29 22:58:05 +01:00
login_cap.h login_cap.h: Remove LOGIN_DEFPRI 2024-01-29 22:58:10 +01:00
login_class.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
login_class.c login_cap.h: Remove LOGIN_DEFPRI 2024-01-29 22:58:10 +01:00
login_crypt.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
login_ok.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
login_ok.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
login_times.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
login_times.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
login_tty.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
login_tty.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
Makefile libutil: move ftime to libutil 2024-05-29 14:36:09 +02:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
pidfile.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
pidfile.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
property.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
property.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pty.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
pty.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
pw_util.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
pw_util.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
quotafile.3 Remove my middle name. 2023-08-17 15:08:30 +02:00
quotafile.c Remove my middle name. 2023-08-17 15:08:30 +02:00
realhostname.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
realhostname.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
realhostname_sa.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
stub.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
trimdomain.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
trimdomain.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
uucplock.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
uucplock.c lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00