opnsense-src/lib/libprocstat
Brooks Davis 9b48cb8e89 libprocstat: make sv_name not static
Making this variable static makes is_elf32_sysctl() and callers thread
unsafe.

Use a less absurd length for sv_name.  The longest name in the system is
"FreeBSD ELF64 V2" which tips the scales at 16+1 bytes.  We'll almost
certainly have other problems if we exceed 32 characters.

Reviewed by:	markj
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D42199

(cherry picked from commit 72a4ee26a7c665ae1c31abe1c6feeaa7ccaba140)
2023-10-26 00:30:51 +01:00
..
zfs Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
cd9660.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
common_kvm.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
common_kvm.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
core.c libprocstat: use elf_getphdrnum rather than deprecated elf_getphnum 2023-09-25 09:45:06 -04:00
core.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libprocstat.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
libprocstat.c libprocstat: make sv_name not static 2023-10-26 00:30:51 +01:00
libprocstat.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libprocstat_compat.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
libprocstat_internal.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
msdosfs.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
smbfs.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
Symbol.map Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:23 -06:00
udf.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
zfs.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
zfs_defs.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
zfs_defs.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00