HardenedBSD/sbin
John Baldwin 326e20fc12 nvmecontrol: Refactor devlist implementation
Split out helper functions for scan_namespace and scan_controller.
While here, replace sprintf() calls with snprintf() and avoid
leaking the contoller fd if read_controller_data() fails.

Reviewed by:	chuck, imp
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D47354
2024-11-04 20:28:26 -05:00
..
adjkerntz
bectl
bsdlabel
camcontrol
ccdconfig
clri
comcontrol
conscontrol
ddb
decryptcore
devd
devfs
devmatch
dhclient
dmesg
dump
dumpfs
dumpon
etherswitchcfg
fdisk
ffsinfo
fsck
fsck_ffs
fsck_msdosfs
fsdb
fsirand
geom
ggate
growfs
gvinum
hastctl
hastd
ifconfig
init
ipf
ipfw
kldconfig
kldload
kldstat
kldunload
ldconfig
md5
mdconfig
mdmfs
mknod
mksnap_ffs
mount manuals: Remove trailing spaces 2024-11-04 11:26:14 -04:00
mount_cd9660
mount_fusefs
mount_msdosfs
mount_nfs
mount_nullfs
mount_udf
mount_unionfs
natd
newfs
newfs_msdos
nfsiod
nos-tun
nvmecontrol nvmecontrol: Refactor devlist implementation 2024-11-04 20:28:26 -05:00
pfctl
pfilctl
pflogd
pflowctl
ping
quotacheck
rcorder
reboot
recoverdisk
resolvconf
restore
route
routed
rtsol
savecore
setkey
shutdown
swapon
sysctl
tests
tunefs
umount
veriexec
zfsbootcfg
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc64