HardenedBSD/usr.bin
Andre Oppermann 162361c198 Fix bandwidth reporting when doing a restarted download with "-r".
The offset is already accounted for in xs->lastrcvd and doesn't
have to be subtracted again.

Reported by:	Florian Smeets <flo@smeets.im>
Submitted by:	Mateusz Guzik <mjguzik@gmail.com>
Tested by:	Florian Smeets <flo@smeets.im>
MFC after:	1 week
2012-12-09 22:54:03 +00:00
..
alias
apply
ar Mark bsdar_errc as __dead2 to help code analysis tools. 2012-10-22 02:12:06 +00:00
asa
at Check the return error of set[ug]id. While this can never fail in the 2012-10-22 03:31:22 +00:00
atf Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
atm
awk
banner
basename
bc Make definition match declaration 2012-11-15 15:06:00 +00:00
biff
bluetooth
bmake Merge bmake-20121111 2012-11-16 01:37:25 +00:00
brandelf Fix warning when compiling with gcc46: 2012-01-10 02:58:29 +00:00
bsdiff Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
bzip2
bzip2recover
c89
c99
calendar Correct date of Stanley's encounter with Livingstone. 2012-11-11 22:43:36 +00:00
cap_mkdb
catman
chat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
checknr
chkey Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
chpass Avoid possible null deref if ypclnt_new returns null 2012-11-15 15:06:18 +00:00
cksum More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
clang Upgrade our copy of llvm/clang to r168974, from upstream's release_32 2012-12-03 19:24:08 +00:00
cmp
col
colcrt
colldef
colrm
column
comm Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
compile_et - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings 2012-03-22 08:48:42 +00:00
compress
cpio Update libarchive to 3.0.4 2012-07-28 06:38:44 +00:00
cpuset
csplit
csup Fix conditional expression: previously a bitvector would be operated 2012-10-22 02:59:44 +00:00
ctags
ctlstat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
cut The is_delim function works on wchar_t characters not ints, update the 2012-11-24 04:15:25 +00:00
dc Minor mdoc nits. 2012-05-13 14:16:04 +00:00
dig
dirname
du New sentence, new line. 2012-11-04 09:27:01 +00:00
ee
elf2aout
elfdump More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
enigma Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
env
expand
false
fetch Fix bandwidth reporting when doing a restarted download with "-r". 2012-12-09 22:54:03 +00:00
file Update file(1) to version 5.11. 2012-04-19 03:20:13 +00:00
file2c
find Use .Nm instead of a self xref 2012-11-19 15:12:44 +00:00
finger More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
fmt
fold
from
fstat Bring DPADD in sync with LDADD. 2012-05-19 05:07:03 +00:00
fsync
ftp
gcore
gencat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
getconf
getent Teach getent(1) to look up a hostname and find IPv6 addresses. 2012-09-26 09:29:48 +00:00
getopt
gprof Fix resolving symbol names on ARM. 2012-05-25 06:48:42 +00:00
grep More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
gzip More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
head
hesinfo
hexdump mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
host
iconv
id
indent Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
ipcrm General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
ipcs
join Fix a typo that crept in. 2012-05-18 03:30:50 +00:00
jot Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
kdump kdump: Also decode fcntl commands containing underscores and digits. 2012-11-02 16:07:21 +00:00
keylogin
keylogout
killall Once in a month, when the moon is full, killall mistakenly considers 2012-06-30 16:36:22 +00:00
ktrace Don't trace or dump page fault records in the default set of tracepoints 2012-05-31 14:46:02 +00:00
ktrdump - Implement run-time expansion of the KTR buffer via sysctl. 2012-11-15 00:51:57 +00:00
lam
last Bump date missed in r202756 2012-09-14 17:50:42 +00:00
lastcomm Allow to specify strftime(3) format for process start end exit times. 2012-05-17 11:10:13 +00:00
ldd
leave
less Note that the manual page of less(1) says: 2012-12-03 21:49:37 +00:00
lessecho
lesskey
lex Correct double "the the" 2012-09-14 21:28:56 +00:00
limits General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
locale Sort options. 2012-11-17 23:52:38 +00:00
locate
lock Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
lockf Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
logger Add missing const keywords. 2012-10-19 14:29:03 +00:00
login None of these programs actually use auth.conf. 2012-06-11 16:18:39 +00:00
logins
logname
look
lorder
lsvfs
lzmainfo
m4 Fix build. 2012-10-21 08:38:55 +00:00
mail Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
make Remove fictitious support for 80386-class CPUs from bsd.cpu.mk and make(1). 2012-12-03 19:27:31 +00:00
makewhatis Currently the code uses gzFile * for a zlib file descriptor, which 2012-06-20 23:53:36 +00:00
man Minor mdoc improvements. 2012-06-03 11:09:51 +00:00
mandoc Merge mandoc from vendor into contrib and provide the necessary Makefile glue. 2012-10-19 22:21:01 +00:00
mesg
minigzip MFV: Update zlib to 1.2.7. 2012-06-21 21:47:08 +00:00
ministat Add option to suppress just the plot in ministat while still retaining 2012-11-15 15:06:12 +00:00
mkcsmapper For mkcsmapper, conditionalize gcc-specific compile flags. 2012-11-14 18:51:12 +00:00
mkcsmapper_static
mkdep
mkesdb Ensure mkcsmapper and mkesdb compile with clang, if WITH_ICONV is 2012-09-11 16:32:31 +00:00
mkesdb_static
mkfifo
mklocale Fix world after byacc import: 2012-05-22 16:33:10 +00:00
mkstr
mktemp Use the macro for standard error return values. 2012-11-18 16:34:06 +00:00
mkulzma mdoc: document title should be all caps. 2012-03-25 19:34:05 +00:00
mkuzip
msgs Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
mt
nc
ncal More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
ncplist Bump date missed in r202756 2012-09-14 17:50:42 +00:00
ncplogin General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
netstat Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel to 2012-11-17 20:19:00 +00:00
newgrp Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
newkey
nfsstat Document the "-m" option added by r243783. 2012-12-02 01:25:19 +00:00
nice
nl
nohup
nslookup
nsupdate
opieinfo
opiekey
opiepasswd
pagesize
pamtest Update to OpenPAM Micrampelis. 2012-05-26 17:10:16 +00:00
passwd Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined. 2012-11-27 16:23:12 +00:00
paste
pathchk
perror
pr Standardize EXIT STATUS instructions in man pages when possible. 2012-11-18 16:33:51 +00:00
printenv
printf sh: Prefer internal nextopt() to libc getopt(). 2012-09-15 21:56:30 +00:00
procstat add SG state type 2012-10-02 00:30:20 +00:00
quota
rctl Remove superfluous paragraph macro. 2012-12-04 09:02:49 +00:00
renice
rev
revoke
rlogin More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
rpcgen More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
rpcinfo Cleanup use of 'host' when running 'rpcinfo -p'. 2012-08-18 16:14:50 +00:00
rs
rsh None of these programs actually use auth.conf. 2012-06-11 16:18:39 +00:00
rup
ruptime
rusers
rwall
rwho
script Add "-f" to also output filemon(4) information. 2012-10-26 15:56:28 +00:00
sed Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
seq Standardize EXIT STATUS instructions in man pages when possible. 2012-11-18 16:33:51 +00:00
setchannel Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
shar
showmount
smbutil
sockstat Update the usage with the new jail option. 2012-06-27 23:26:32 +00:00
sort - Portability changes for ARM 2012-11-01 11:38:34 +00:00
split Fix warning when compiling with gcc46: 2012-01-10 02:55:43 +00:00
ssh-copy-id Add examples to the ssh-copy-id script. 2012-11-13 13:06:57 +00:00
stat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
stdbuf WARNS is now default to 6. 2012-09-11 21:13:18 +00:00
su
systat Make systat(1) accept fractional number of seconds. 2012-09-17 13:36:47 +00:00
tabs
tail
talk Bump date missed in r202756 2012-09-14 17:50:42 +00:00
tar Update libarchive to 3.0.4 2012-07-28 06:38:44 +00:00
tcopy
tee Reverting last change r231449 (fix bin/164947) due to concerns voiced 2012-02-11 16:34:03 +00:00
telnet
tftp More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
time time: Use close-on-exec instead of fclose() in the child process. 2012-12-08 17:41:39 +00:00
tip A number of places in the source tree still reference cuad.* after 2012-12-08 22:16:36 +00:00
top Use the correct size when allocating the cmdbuf string. 2012-11-19 08:03:40 +00:00
touch touch: Add the -d option from POSIX.1-2008. 2012-06-10 14:26:51 +00:00
tput
tr mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
true
truncate
truss - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
tset More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
tsort
tty
ul
uname
unexpand
unifdef Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
uniq
units mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
unvis
unzip Remove contractions. 2012-10-07 20:01:41 +00:00
usbhidaction
usbhidctl Fix style nit: don't use leading zero for dates in .Dd 2012-06-05 03:14:39 +00:00
users Bump date missed in r202756 2012-09-14 17:50:42 +00:00
uudecode
uuencode Prefer an example users born after myself might use. 2012-10-26 15:21:23 +00:00
vacation Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
vgrind mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
vi
vis
vmstat Garbage collect defunct nlist(3) symbols. 2012-03-22 09:47:14 +00:00
w Fix whitespace. 2012-11-17 16:47:05 +00:00
wall Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
wc
what
whereis
which
who Remove contractions. 2012-10-07 20:01:41 +00:00
whois General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
write Fix write(1) to support wide characters. 2012-02-13 14:40:15 +00:00
xargs xargs: Before exiting, wait for all invocations of the utility. 2012-03-16 16:41:28 +00:00
xinstall Issue proper diagnostic on the short writes, also consider the 2012-07-02 09:53:57 +00:00
xlint Remove clause 3 and 4 from the NetBSD Foundation copyright header, missed 2012-09-09 07:23:15 +00:00
xstr
xz
xzdec
yacc Import byacc from invisible island, it brings us lots of compatibilities with 2012-05-21 13:31:26 +00:00
yes yes(1) actually comes from V7. 2012-09-17 23:04:15 +00:00
ypcat
ypmatch
ypwhich
Makefile Add a clean-room reimplementation of a script originally 2012-10-22 03:57:00 +00:00
Makefile.amd64 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.arm
Makefile.i386 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.ia64 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.inc
Makefile.powerpc Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.sparc64 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00