opnsense-src/usr.sbin
Alexander Motin 5d8bf1ffba mpsutil: Fix data truncation by too short buffers.
Length of some string buffers was insufficient for cases of more that
99 targets per HBA or slots per enclosure.  Some others are tuned just
for better alignment.  While there also fix output formatting issues.

MFC after:	1 week
Sponsored by:	iXsystems, Inc.

(cherry picked from commit f5b0083302)
2021-12-07 23:07:01 -05:00
..
ac Add some HISTORY sections to manpages 2020-02-19 12:49:49 +00:00
accton General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
acpi Print DeviceHandle and PhysicalId in hex. 2021-02-11 23:03:15 -05:00
adduser adduser: allow standard IFS characters in passwords 2020-04-05 19:25:46 +00:00
ancontrol spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
apm DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
apmd Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:23:01 +00:00
arp arp(8): fixing the deletion failure of IEEE1394 associated addresses 2021-05-03 07:51:53 +00:00
audit DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
auditd Move OpenBSM to CONFS 2018-08-11 13:23:09 +00:00
auditdistd auditdistd: Remove useless linking with libl 2020-03-24 07:08:39 +00:00
auditreduce DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
authpf authpf: Start using libpfctl 2021-05-14 10:40:12 +02:00
autofs autofs: best effort to maintain mounttab and mountdtab 2021-05-11 15:48:44 -08:00
bhyve bhyve: Support setting the disk serial number for VirtIO block devices. 2021-11-23 15:11:43 -08:00
bhyvectl bhyvectl: print a better error message when vm_open() fails 2021-07-01 19:17:12 -08:00
bhyveload bhyveload(8): Implement loader_callbacks::diskwrite 2020-10-07 20:31:13 +00:00
binmiscctl binmiscctl: Avoid segfault with "binmiscctl add" and no extra params 2021-02-15 14:12:25 -05:00
blacklistctl DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
blacklistd Move blacklistd.conf to usr.sbin/blacklistd/ 2018-07-31 16:39:38 +00:00
bluetooth iwmbtfw(8): Improve Intel 7260/7265 adaptors handling 2021-06-14 00:59:38 +03:00
boot0cfg Revert r362466 2020-06-22 07:46:24 +00:00
bootparamd bootparamd: Add missing __unused mark. 2021-01-03 00:40:34 +09:00
bsdconfig bsdconfig: add a new mirror in Bulgaria 2021-06-20 11:23:44 +08:00
bsdinstall powerpc64: make autoboot possible on powernv machines 2021-12-01 19:41:49 -03:00
bsnmpd pkgbase: Put the mibs and defs in the bnsmp package 2021-06-30 09:24:33 +02:00
btxld Explicitly ignore return value from remove. We wouldn't do anything 2017-12-28 05:33:19 +00:00
camdd camdd(8): Fix the man page date 2020-12-19 13:17:25 +00:00
cdcontrol DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
certctl certctl: factor out certname resolution 2021-01-08 22:36:22 -06:00
chkgrp various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
chown fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
chroot Chroot first appeared in 4.3-Reno, not in 4.4 in the BSD world, 2020-06-26 22:23:15 +00:00
ckdist fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
clear_locks pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
config config(5): Update upper limit for maxusers on 64-bit systems 2021-10-31 15:27:20 -04:00
cpucontrol cpucontrol: fix extended signature matching code to avoid fallthough 2021-06-20 15:10:21 -04:00
crashinfo crashinfo: Add references to the gdb port/package 2020-12-02 19:58:50 +00:00
cron cron: consume blanks in system crontabs before options 2021-06-05 15:49:45 -07:00
crunch crunch: drop WARNS override 2021-08-26 12:28:38 -05:00
ctladm pkgbase: Move ctld/ctladm to iscsi package 2021-06-30 09:24:33 +02:00
ctld ctld: Always declare MaxRecvDataSegmentLength. 2021-11-23 15:11:44 -08:00
cxgbetool cxgbetool(8): Update the register definitions used to decode regdump. 2021-10-20 10:43:21 -07:00
daemon daemon: add some basic tests 2021-06-03 20:48:47 -06:00
dconschat spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
devctl Add freeze/thaw description to devctl(8) 2021-06-10 23:28:29 +08:00
devinfo devinfo(8): Remove cross-reference to pnpinfo(8) 2021-11-05 00:54:33 -04:00
diskinfo Make "diskinfo -i" also test 1MB reads. 2020-12-10 10:23:18 +00:00
dumpcis Regularize my copyright notice 2019-12-04 16:56:11 +00:00
editmap DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
edquota edquota(8): Cleanup to make it WARNS=6 clean. 2020-08-17 05:57:22 +00:00
efibootmgr efibootmgr: Check for efi supported after parsing args 2021-02-24 11:01:41 -07:00
efidp Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
efivar Comment out bogus command line entry 2020-09-25 18:20:45 +00:00
etcupdate etcupdate: Add -D destdir to usage for 'extract'. 2021-06-09 14:19:39 -07:00
extattr vfs_extattr: Allow extattr names up to the full max 2020-05-14 03:01:23 +00:00
extattrctl Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
fdcontrol Tag 'a' case as one we're intentionally falling through to 2018-01-05 07:28:48 +00:00
fdformat Add example usage for formatting a floppy disk. Adding a more self 2020-05-25 07:18:47 +00:00
fdread various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fdwrite SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
fifolog [fifolog] wrap the recno when we hit the end of the provided file size. 2020-06-28 06:52:39 +00:00
flowctl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fmtree fmtree: add a deprecation notice to the manpage 2021-02-15 20:20:02 -06:00
freebsd-update freebsd-update(8): Add -j flag to support jails 2021-10-08 11:29:07 -05:00
fstyp fstyp: bump WARNS to default and work around warnings 2021-09-25 10:34:38 +02:00
ftp-proxy (t)ftp-proxy: use libpfctl 2021-05-07 10:15:42 +02:00
fwcontrol Fix various -Wpointer-compare warnings 2019-10-08 21:14:09 +00:00
getfmac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
getpmac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
gpioctl Provide userland notification of gpio pin changes ("userland gpio interrupts"). 2020-12-12 18:34:15 +00:00
gssd Remove the -o option from gssd(8). 2020-04-10 23:10:28 +00:00
gstat [skip ci] correct a few SPDX license tags 2021-07-27 11:57:17 -06:00
hyperv DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
i2c Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
ifmcstat bits is never null when we call ot. Add an assert to that effect and 2018-01-05 07:28:58 +00:00
inetd inetd: fix unix sockaddr's length assignment 2021-02-15 20:25:15 -06:00
iostat iostat: fix rounding errors in iostat -x 2021-08-22 21:23:23 +00:00
iovctl Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
ip6addrctl pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
ipfwpcap Buildfix for GCC after r334277. 2018-05-28 09:41:44 +00:00
iscsid iscsid: set max_recv_data_segment_length to what we advertise 2021-11-03 16:47:11 -04:00
jail jail: Don't allow substitution of valueless jail parameters. 2021-06-24 10:51:27 -07:00
jexec various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
jls Bugfix to not hide jailparam flags, which for example changes the output 2020-12-15 20:56:35 +00:00
kbdcontrol Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:26:38 +00:00
kbdmap kbdmap: allow INDEX.keymaps to provide the dialog title 2019-12-11 17:19:36 +00:00
keyserv keyserv(8): unifdef out __FreeBSD__ and KEYSERV_RANDOM 2019-12-13 04:03:05 +00:00
kgmon Free zbuf when kflag is true too. 2017-12-28 05:34:04 +00:00
kldxref kldxref: do not error out if specified path is not directory, for -d mode 2021-05-27 03:33:10 +03:00
lastlogin A single comma was missing to separate the "see also" items in 2018-10-20 17:22:04 +00:00
lpr lpr(1): Fix a typo in a source code comment 2021-11-28 12:42:53 +01:00
lptcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mailstats DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mailwrapper Make use of the getlocalbase() function for run-time adjustment of the 2020-11-18 20:00:55 +00:00
makefs makefs: Cast daddr_t to off_t before multiplication 2021-09-07 13:06:44 +01:00
makemap DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
manctl spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
memcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mergemaster mergemaster: handle symbolic links during update. 2020-11-18 19:22:24 +00:00
mfiutil Make mfiutil show progress print out the elapsed time estimate in a 2018-10-13 02:21:23 +00:00
mixer mixer: call the cleanup function in a test 2020-02-06 14:31:29 +00:00
mld6query Remove the USE_RFC2292BIS option and reap dead code 2019-07-22 20:11:33 +00:00
mlx5tool Fix a few mandoc issues 2020-10-09 19:12:44 +00:00
mlxcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mount_smbfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mountd mountd: Fix handling of usernames that start with a digit 2021-12-01 17:08:35 -08:00
moused moused(8): Fix a few mandoc warnings 2020-11-20 17:04:49 +00:00
mpsutil mpsutil: Fix data truncation by too short buffers. 2021-12-07 23:07:01 -05:00
mptable various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mptutil mptutil: emit a warning on big-endian architectures 2019-07-22 17:25:35 +00:00
mtest mtest: build with WARNS=3 2018-05-19 20:57:22 +00:00
ndiscvt Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:28:27 +00:00
ndp Fix arp/ndp deletion broken by 2fe5a79425. 2021-03-10 21:48:24 +00:00
newsyslog newsyslog(8): Implement a new 'E' flag to not rotate empty log files 2021-03-15 01:08:23 +01:00
nfscbd pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
nfsd nfsd: Fix some issues found by mandoc 2021-07-19 08:16:01 +02:00
nfsdumpstate pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
nfsrevoke pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
nfsuserd pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
ngctl build: remove LIBPTHREAD/LIBTHR build options 2021-01-28 19:21:46 -06:00
nghook DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nmtree Allow bootstrapping mtree on Linux systems 2020-08-03 18:08:10 +00:00
nologin Revert 363598 2020-08-17 10:25:02 +00:00
nscd nscd: does not warn about invalid values what parsing config file 2020-07-11 19:44:12 +00:00
ntp ntp.conf.5: Fix typos 2021-10-14 10:04:34 -04:00
nvram [PowerPC] De-giant powermac_nvram, update documentation 2020-06-19 18:36:10 +00:00
ofwdump [PowerPC] Allow traversal of oversize OF properties. 2020-11-13 16:49:41 +00:00
pciconf Create VM_MEMATTR_DEVICE on all architectures 2021-06-13 16:49:36 +01:00
periodic periodic: by default, skip 221.backup-gpart in jails 2021-07-03 20:30:05 -06:00
pkg pkg: use specific CONFSNAME_${file} for FreeBSD.conf 2021-08-26 12:28:38 -05:00
pmc libpmc: eliminate pmc_pmu_stat_mode() 2021-07-29 12:01:10 -03:00
pmcannotate Teach pmcannotate about $TMPDIR and _PATH_TMP 2018-05-18 14:14:04 +00:00
pmccontrol pmccontrol: improve -L with pmu-events 2021-07-29 12:01:10 -03:00
pmcstat Update a sysctl name to nbuffers_pcpu in hwpmc.4 and pmcstat.c 2021-09-25 10:34:38 +02:00
pmcstudy Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
pnfsdscopymr pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
pnfsdsfile pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
pnfsdskill pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
pnpinfo DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
portsnap phttpget: move out of portsnap 2020-09-09 00:39:47 +00:00
powerd powerd(8): Add rc.conf(5) to see also 2021-11-10 14:12:59 -05:00
ppp pkgbase: Put ppp in it's own package 2021-01-04 16:19:36 +01:00
pppctl pkgbase: Put ppp in it's own package 2021-01-04 16:19:36 +01:00
praliases DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
praudit usr.sbin/praudit: Fix tests after 5619d49e07 2021-03-17 09:55:40 +00:00
prometheus_sysctl_exporter Fix typo on "Celsius" 2021-12-06 08:55:55 -07:00
pstat pstat(8): improve the Size header width after r358181 2020-06-23 18:19:22 +00:00
pw pw(8): use open_memstream(3) instead of sbuf(9) 2021-05-05 09:37:01 +02:00
pwd_mkdb Fix bootstrapping of pwd_mkdb after r364049 2020-08-11 16:46:38 +00:00
pwm usr.sbin/pwm/pwm add support for flags 2021-07-22 18:39:57 +02:00
quot Move the pointers stored in the superblock into a separate 2020-06-19 01:02:53 +00:00
quotaon General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rarpd SPDX: mostly fixes to previous changes. 2017-12-13 16:13:17 +00:00
repquota General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rip6query General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rmt tag /etc/rmt symlink with pkgbase package 2020-02-12 17:30:09 +00:00
route6d Use the right variable when updating interface routes. 2018-08-08 20:15:40 +00:00
rpc.lockd rpc.lockd: Use libc strnlen() instead of reimplementing it 2021-06-30 08:18:09 -04:00
rpc.statd Add and document options to allow rpc.lockd and rpc.statd to run in the 2019-11-22 16:53:30 +00:00
rpc.tlsclntd nfs tls: Update for SSL_OP_ENABLE_KTLS. 2021-08-23 17:59:34 -07:00
rpc.tlsservd nfs tls: Update for SSL_OP_ENABLE_KTLS. 2021-08-23 17:59:34 -07:00
rpc.umntall pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
rpc.yppasswdd yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
rpc.ypupdated yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
rpc.ypxfrd yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
rpcbind RPCBIND: skip ipv6 link local when request is not from link local address 2021-10-11 09:19:15 -07:00
rrenumd Fix build with recent byacc. 2020-06-24 02:08:08 +00:00
rtadvctl usr.sbin/rtadvctl: Remove support for FreeBSD 9.x. 2021-01-01 16:06:08 -08:00
rtadvd Remove obsolete compatibility code from rtadvd. 2019-07-17 16:50:53 +00:00
rtprio various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
rtsold rtsol/rtsold: Add option to skip random delay 2021-11-23 11:48:50 -08:00
rwhod Remove reference to nlist(3) missed in SCCS revision 5.26 by mckusick 2020-07-24 16:58:13 +00:00
sa Add some HISTORY sections to manpages 2020-02-19 12:49:49 +00:00
sendmail Merge sendmail 8.16.1 to HEAD: See contrib/sendmail/RELEASE_NOTES for details 2020-07-15 18:28:54 +00:00
service service(8): use an environment more consistent with init(8) 2021-03-07 15:39:30 -06:00
services_mkdb usr.sbin/services_mkdb: diff reduction against NetBSD. 2021-04-19 18:00:09 -07:00
sesutil Fix misplaced voltages/temperatures labels in 'sesutil show'. 2020-06-30 16:49:43 +00:00
setfib General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
setfmac fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
setpmac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
smbmsg various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
snapinfo various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
spi Clean up spi.8 2020-08-21 09:48:00 +00:00
spkrtest various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
spray spray: fix the spelling in an output string 2018-03-05 16:13:29 +00:00
syslogd syslogd: fix WITHOUT_INET builds 2021-11-29 10:10:53 -05:00
sysrc Update the spelling of my name 2019-04-22 17:52:46 +00:00
tcpdchk DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tcpdmatch DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tcpdrop Use uintptr_t alone when assigning to kvaddr_t variables. 2018-07-10 13:03:06 +00:00
tcpdump Remove useless linking to libl 2020-03-23 14:44:23 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
traceroute Update Makefile.depend files 2019-12-11 17:37:53 +00:00
traceroute6 traceroute6: Properly calculate UDP checksum 2021-05-06 08:59:19 -04:00
trim trim(8): Fix a few issues reported by mandoc 2020-12-19 13:56:19 +00:00
trpt Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
tzsetup Don't link against libdialog/ncurses when bootstrapping tzsetup 2020-08-07 16:04:10 +00:00
uathload various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
uefisign usr.sbin/uefisign: prevent specifying certificate, key or output 2021-04-19 17:59:58 -07:00
ugidfw various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
uhsoctl Use correct type for IOCTL request argument. 2018-11-02 22:23:25 +00:00
unbound MFV d60fa10fd8: 2021-06-02 17:54:29 -07:00
usbconfig Implement dump_stats command for usbconfig(8). 2019-12-27 20:37:14 +00:00
usbdump Implement own command line option for the frequently used -i usbusX -f Y syntax, 2021-06-02 13:25:20 +02:00
utx various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
valectl [vale] Fix valectl to compile on a 32-bit platform 2020-12-30 10:40:43 -08:00
vidcontrol Move font related data structured to sys/font.c and update vtfontcvt 2020-06-14 06:58:58 +00:00
vigr META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
vipw General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
wake various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
watch Remove sio(4). 2019-11-21 01:24:49 +00:00
watchdogd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
wlandebug wlandebug: Add include path for libifconfig as it is a internallib 2020-03-25 01:31:26 +00:00
wpa wpa: Fix WITHOUT_WPA_SUPPLICANT_EAPOL build 2021-11-20 17:30:49 -08:00
yp_mkdb Fix clang 11 -Wformat warnings in yp_mkdb: 2020-08-06 20:31:50 +00:00
ypbind various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ypldap Only set WARNS if not defined 2020-09-11 13:28:37 +00:00
yppoll various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
yppush Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
ypserv yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
ypset various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
zic Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
zonectl Don't set more_data which is never used. 2020-12-24 18:49:12 -08:00
zzz Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile pkgbase: Move ctld/ctladm to iscsi package 2021-06-30 09:24:33 +02:00
Makefile.amd64 Remove kgzip and kgzldr. 2019-05-24 05:34:21 +00:00
Makefile.arm Make the building of libsmb and mount_smbfs unconditional, now that r292552 2015-12-21 17:41:08 +00:00
Makefile.arm64 arm64: build usr.sbin/acpi subdirectory 2015-11-08 20:56:04 +00:00
Makefile.i386 Remove kgzip and kgzldr. 2019-05-24 05:34:21 +00:00
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
Makefile.mips Document why we use -z nonexecstack in the Makefile since it 2015-11-21 16:37:11 +00:00
Makefile.powerpc Create a new MACHINE_ARCH for Freescale PowerPC e500v2 2016-10-22 01:57:15 +00:00
Makefile.riscv Build ofwdump on riscv. 2018-07-24 20:20:17 +00:00