freebsd-nq/usr.sbin
Devin Teske bd1df63614 Optimize program flow for execution speed. Also fix some more style(9) nits
while here:
+ Fix an issue when extracting small archives where dialog_mixedgauge was
  not rendering; leaving the user wondering if anything happened.
+ Add #ifdef's to assuage compilation against older libarchive
  NB: Minimize diff between branches; make merging easier.
+ Add missing calls to end_dialog(3)
+ Change string processing from strtok(3) to strcspn(3) (O(1) optimization)
+ Use EXIT_SUCCESS and EXIT_FAILURE instead of 0/1
+ Optimize getenv(3) use, using stored results instead of calling repeatedly
  NB: Fixes copy/paste error wherein we display getenv(BSDINSTALL_DISTDIR) in
      an error msgbox when chdir(2) to getenv(BSDINSTALL_CHROOT) fails
      (wrong variable displayed in msgbox).
+ Use strtol(3) instead of [deprecated] atoi(3)
+ Add additional error checking (e.g., check return of archive_read_new(3))
+ Assign DECONST strings to static variables
+ Fix typo in distextract.c error message (s/Could could/Could not/)
+ Add comments and make a minor whitespace adjustment

Reviewed by:	nwhitehorn, julian
2014-10-01 18:59:57 +00:00
..
ac
accton
acpi
adduser
amd Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
ancontrol
apm
apmd
arp
asf
audit
auditd
auditdistd Add -Wthread-safety to WARNS=6. 2014-09-01 20:18:09 +00:00
auditreduce
authpf
autofs Fix thinko that, with two map entries like shown below, in that order, 2014-09-23 19:12:06 +00:00
bhyve Correct display of bhyve SMBIOS UUIDs with dmidecode by bumping the version. 2014-09-23 01:17:22 +00:00
bhyvectl After r271635 mmap(2) requires either MAP_PRIVATE or MAP_SHARED 2014-09-27 03:43:49 +00:00
bhyveload
binmiscctl mdoc: kill EOL whitespace. 2014-07-29 19:49:27 +00:00
bluetooth
boot0cfg
boot98cfg
bootparamd
bsdconfig Fix regression introduced by SVN r270954. Correct way to reset getopts 2014-09-02 22:59:40 +00:00
bsdinstall Optimize program flow for execution speed. Also fix some more style(9) nits 2014-10-01 18:59:57 +00:00
bsnmpd
btxld Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
cdcontrol
chkgrp
chown
chroot
ckdist
clear_locks
config mdoc: kill EOL whitespace. 2014-07-29 19:49:27 +00:00
cpucontrol
crashinfo
cron Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
crunch Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
ctladm Implement control over command reordering via options and control mode page. 2014-09-13 10:34:23 +00:00
ctld Make kernel to update LUN size from the backing storage on configuration 2014-09-18 17:39:04 +00:00
ctm
daemon
dconschat
devinfo
digictl
diskinfo
dumpcis
editmap Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
edquota
eeprom
etcupdate
extattr
extattrctl
faithd
fdcontrol
fdformat
fdread - Cleanups pc98 code. 2014-09-28 11:32:46 +00:00
fdwrite
fifolog Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
flowctl
freebsd-update
ftp-proxy Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
fwcontrol
getfmac
getpmac
gpioctl
gssd
gstat Convert LIBCURSES to LIBNCURSES to fix "make checkdpadd" 2014-08-26 09:10:28 +00:00
hyperv Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, 2014-09-13 02:15:31 +00:00
i2c
ifmcstat
inetd
iostat
ip6addrctl
ipfwpcap
iscsid Add the new iscsi(4) man page 2014-09-13 18:40:12 +00:00
jail Added support for extra ifconfig args to jail ip4.addr & ip6.addr params 2014-08-04 16:32:08 +00:00
jexec
jls
kbdcontrol Update man-pages to correctly refer to changed pathes and naming conventions 2014-08-26 09:40:14 +00:00
kbdmap More man pages that need to know about vt in addition to syscons. 2014-08-26 10:55:08 +00:00
keyserv
kgmon
kgzip
kldxref
lastlogin
lmcconfig
lpr lpr: replace setpgrp(2) with setpgid(2). 2014-09-18 17:01:45 +00:00
lptcontrol
mailstats Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
mailwrapper Allow mailwrapper to use mailer.conf from localbase (respecting LOCALBASE env var if set) 2014-08-26 22:20:02 +00:00
makefs r258695 introduces a sanity check for makefs in order to verify that 2014-09-18 03:11:59 +00:00
makemap Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
manctl
memcontrol
mergemaster
mfiutil Style (9) fixes, spaces to tabs. 2014-09-19 23:38:44 +00:00
mixer
mld6query
mlxcontrol
mount_smbfs
mountd Avoid showing stale errors when nmount(2) fails. 2014-08-19 21:04:31 +00:00
moused
mptable
mptutil
mtest
mtree Fix incremental builds involving non-root users with read-only source files. 2014-09-18 14:41:57 +00:00
nandsim
nandtool
ndiscvt
ndp
newsyslog Make it more explicitly clear that -t will not change filename. 2014-09-23 13:58:39 +00:00
nfscbd
nfsd Document the use of the vfs.nfsd sysctls that control the size of 2014-08-10 20:05:13 +00:00
nfsdumpstate
nfsrevoke
nfsuserd
ngctl
nghook
nmtree Add LIBMD and LIBUTIL to DPADD to fix "make checkdpadd" 2014-08-19 18:47:47 +00:00
nologin
nscd
ntp Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
nvram
ofwdump
pc-sysinstall
pciconf
periodic
pkg Rework privatelib/internallib 2014-08-06 22:17:26 +00:00
pmcannotate
pmccontrol
pmcstat mdoc: kill EOL whitespace. 2014-07-29 19:49:27 +00:00
pnpinfo
portsnap
powerd
ppp Change file permissions for some setuid executables so they are "o+r". 2014-08-21 19:04:15 +00:00
pppctl
praliases Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
praudit
procctl
pstat
pw
pwd_mkdb
quot
quotaon
rarpd
repquota
rip6query
rmt
route6d Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index 2014-08-20 17:27:15 +00:00
rpc.lockd
rpc.statd
rpc.umntall
rpc.yppasswdd
rpc.ypupdated
rpc.ypxfrd
rpcbind
rrenumd
rtadvctl
rtadvd
rtprio
rtsold
rwhod
sa
sendmail Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
service
services_mkdb
setfib
setfmac
setpmac
sicontrol
smbmsg Fix typo (by -> be). 2014-09-01 16:12:29 +00:00
snapinfo
spkrtest
spray
syslogd
sysrc
tcpdchk
tcpdmatch
tcpdrop
tcpdump
tests
timed Remove LOG_ODELAY because it does nothing. 2014-08-17 19:06:26 +00:00
traceroute Make SOCK_RAW sockets to be truly raw, not modifying received and sent 2014-09-01 14:04:51 +00:00
traceroute6
trpt
tzsetup
uathload
ugidfw
uhsoctl
unbound Fix support for IPv6 nameservers. 2014-09-08 09:16:07 +00:00
usbconfig
usbdump
utx
vidcontrol Add references to vt(4) to further man-pages. 2014-09-01 16:25:08 +00:00
vipw
wake
watch
watchdogd
wlandebug Fix a typo to catch correct condition. 2014-08-25 05:52:05 +00:00
wlconfig
wpa
yp_mkdb
ypbind
yppoll
yppush
ypserv
ypset
zic
zzz
Makefile Conditionalize build of etcupdate(8) on MK_RCS. Since etcupdate calls 2014-09-10 19:00:17 +00:00
Makefile.amd64 Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, 2014-09-13 02:15:31 +00:00
Makefile.arm
Makefile.i386 Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, 2014-09-13 02:15:31 +00:00
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.sparc64