freebsd-skq/usr.bin
Baptiste Daroussin f23ed79b08 Fix about ten integer overflows and underflows and a handful of logic
errors in line number handling.

Submitted by:	ingo at OpenBSD
Discussed with:	ingo at OpenBSD
Obtained from:	OpenBSD
2015-05-08 22:11:54 +00:00
..
addr2line Build infrastructure for elftoolchain tools 2014-12-01 17:49:42 +00:00
alias
apply Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
ar Avoid escaping EOL for line continuation 2015-04-09 15:08:39 +00:00
asa
at Sigh, remove a line that needs to be removed along with previous commit. 2014-09-29 21:54:46 +00:00
atm Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
awk Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
banner
basename Integrate usr.sbin/basename/tests from NetBSD into atf/kyua 2014-10-09 00:41:42 +00:00
bc Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
biff Fix EXIT STATUS. biff reports its status when it was invoked. 2013-04-28 09:29:44 +00:00
bluetooth Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED 2015-04-07 16:48:23 +00:00
bmake Merge bmake-20150418 2015-04-21 04:40:38 +00:00
brandelf use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
bsdiff Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
bzip2 Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
bzip2recover NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
c89 Make c89(1) invoke /usr/bin/cc with argv[0] also set to /usr/bin/cc, 2013-03-07 21:34:16 +00:00
c99 Make c99(1) invoke /usr/bin/cc with argv[0] set to "/usr/bin/cc" instead 2013-03-07 21:37:23 +00:00
calendar The Dutch queen abdicated two years ago, the national holiday associated with 2015-04-27 17:04:27 +00:00
cap_mkdb
catman
chat
checknr Reduce the size to 64 for the commands, 512 was way too large for the purpose 2015-05-07 21:30:29 +00:00
chkey Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
chpass Partially revert 278642 2015-02-13 07:51:26 +00:00
cksum
clang Add the llvm-cov and llvm-profdata tools, when WITH_CLANG_EXTRAS is 2015-04-03 19:43:39 +00:00
cmp Integrate usr.bin/cmp/tests from NetBSD into atf/kyua 2014-10-09 00:50:33 +00:00
col Fix about ten integer overflows and underflows and a handful of logic 2015-05-08 22:11:54 +00:00
colcrt
colldef Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
colrm
column Remove bogus cast. 2015-03-31 15:03:58 +00:00
comm Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
compile_et Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
compress compress,gzip,xz: Preserve timestamps with nanosecond precision. 2015-02-17 13:12:54 +00:00
cpio Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
cpuset Document CPU_WHICH_DOMAIN and bump Dd for cpuset.1. 2015-01-08 18:53:11 +00:00
csplit Correct example. 2014-02-08 13:29:35 +00:00
ctags
ctlstat Ouch, I've misread the original text. 2015-03-08 19:50:30 +00:00
cut Integrate usr.bin/cut/tests from NetBSD into atf/kyua 2014-10-09 01:46:31 +00:00
cxxfilt Actually add c++filt's Makefile 2015-04-30 22:51:15 +00:00
dc Init array field in the proper place. 2014-11-27 01:37:01 +00:00
demandoc Forgot to convert demandoc along with mandoc 2014-11-24 23:29:56 +00:00
dirname Integrate usr.bin/dirname/tests from NetBSD into atf/kyua 2014-10-09 00:55:04 +00:00
dpv mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
drill Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
dtc dtc: ignore lines starting with #. 2014-06-10 06:16:34 +00:00
du du(1): replace malloc + memset with calloc. 2015-02-17 21:12:45 +00:00
ee Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
elf2aout use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
elfcopy Build infrastructure for elftoolchain tools 2014-12-01 17:49:42 +00:00
elfdump Limit descriptors and enter capability mode. 2014-11-24 09:31:38 +00:00
enigma Explicitly crypt_set_format("des") and bail out if we 2015-02-25 20:47:25 +00:00
env env: Fix crash when -S string is not empty but no operand follows. 2015-03-08 14:12:43 +00:00
expand
false
fetch Remove defunct SSLv2 support from fetch(1) and fetch(3). 2015-03-25 18:56:36 +00:00
file Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
file2c Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
find find.1: Add missing whitespace: 2015-04-20 02:23:00 +00:00
finger
fmt
fold
from Add static where appropriate. 2013-11-21 21:19:01 +00:00
fstat Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
fsync
ftp Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
gcore Move the 32-bit compatible procfs types from freebsd32.h to <sys/procfs.h> 2015-04-08 16:30:45 +00:00
gencat
getconf use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
getent Add support for netgroup, based on patch in the PR but made consistent 2013-05-23 20:52:30 +00:00
getopt
gprof Remove ia64. 2014-07-07 00:27:09 +00:00
grep bsdgrep: fix regression in the -f option since r268799 2015-03-21 00:21:30 +00:00
gzip r281540 was upstreamed as NetBSD r1.108 of gzip.c, note it as merged. 2015-04-16 22:30:57 +00:00
head Remove EOL whitespace accidentally introduced in r248393. 2013-03-17 06:57:25 +00:00
hesinfo
hexdump hexdump: Don't use uninitialized struct stat. 2015-04-26 21:34:55 +00:00
host Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
iconv Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
id Adjust printf format specifiers for dev_t and ino_t in user space. 2014-12-17 07:10:48 +00:00
indent multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
ipcrm Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
ipcs ipcs: fix builds that use gcc 2015-04-14 04:52:52 +00:00
iscsictl Add libxo(3) support to iscsictl(8). 2015-04-12 09:36:50 +00:00
join Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
jot Fix missing AUTHOR section for jot(1), rs(1), and lam(1) 2015-04-07 15:56:08 +00:00
kdump Remove "capability mode sandbox enabled" messages. 2015-05-04 21:44:51 +00:00
keylogin Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
keylogout
killall Adjust printf format specifiers for dev_t and ino_t in user space. 2014-12-17 07:10:48 +00:00
ktrace Clarify that the -c argument clears the list of tracepoints specified by 2014-08-26 21:21:57 +00:00
ktrdump Change ktrdump to use the more standard -M/-N flags to specify the path 2015-02-06 19:41:23 +00:00
lam Fix missing AUTHOR section for jot(1), rs(1), and lam(1) 2015-04-07 15:56:08 +00:00
last mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
lastcomm Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
ldd Allowus to exclude a.out support from ldd and use it with arm64 as it won't 2015-03-18 13:59:04 +00:00
leave
less Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
lessecho
lesskey
lex Add a ${CP} alias for copying files in the build. 2015-01-16 21:39:08 +00:00
limits Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
locale Sort options. 2012-11-17 23:52:38 +00:00
locate Fix the following -Werror warnings from clang 3.5.0, while building 2014-11-22 12:13:05 +00:00
lock Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
lockf Remove extra flags from r250462. 2015-04-16 02:24:40 +00:00
logger Describe the behavior when both -f and a message are given. Pointed out by 2015-03-22 01:25:57 +00:00
login Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
logins use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
logname
look look: implement long options 2014-07-04 04:47:29 +00:00
lorder
lsvfs - Add file system type number (vfc_typenum) in the list. This is useful 2013-06-09 16:33:32 +00:00
lzmainfo Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
m4 Remove bundled reallocarray(3) since it is now in libc 2015-05-01 18:32:54 +00:00
mail Always check the limits of array index variables before using them. 2014-08-21 02:40:33 +00:00
make Add a ${CP} alias for copying files in the build. 2015-01-16 21:39:08 +00:00
makewhatis Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
man Update mandoc to cvs snaphot from 20150302 2015-03-02 16:58:57 +00:00
mandoc Remove bad and useless LINKS 2015-03-15 23:31:20 +00:00
mesg mesg: remove advertising clause 2014-05-11 02:04:40 +00:00
minigzip Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
ministat Clarify the ministat default width 2015-03-26 17:13:11 +00:00
mkcsmapper mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
mkcsmapper_static NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
mkdep
mkesdb mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
mkesdb_static NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
mkfifo
mkimg Add the -c option for specifying the capacity of the disk image. When 2015-02-22 04:50:47 +00:00
mklocale Work around build breakages with GCC 4.2. 2013-05-23 05:42:35 +00:00
mkstr
mktemp Use the macro for standard error return values. 2012-11-18 16:34:06 +00:00
mkulzma Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
mkuzip Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
msgs Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
mt Convert mt(1) and libmt to LIBADD 2015-04-09 21:26:38 +00:00
nc Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
ncal Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
netstat Printing interface names: 2015-05-06 16:43:44 +00:00
newgrp Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
newkey Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
nfsstat Make nfsstat(1) build with WARNS=6. 2015-04-24 07:57:59 +00:00
nice
nl Treat the '-' as meaning standard input. 2014-05-04 12:20:40 +00:00
nm Build infrastructure for elftoolchain tools 2014-12-01 17:49:42 +00:00
nohup
opieinfo Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
opiekey Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
opiepasswd Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
pagesize
pamtest Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
passwd Revert r278642 2015-02-13 09:02:15 +00:00
paste
patch patch(1): small include changes. 2015-04-20 22:15:18 +00:00
pathchk pathchk: Ensure bytes >= 128 are considered non-portable characters. 2013-10-20 20:10:31 +00:00
perror Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
pr multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
printenv
printf sh: Fix compiler warnings related to duplicate or missing declarations. 2015-03-01 21:46:55 +00:00
procstat Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
protect Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
quota Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
rctl Remove spurious period. 2015-04-29 17:01:28 +00:00
readelf Add Makefile for elftoolchain readelf(1) 2015-01-02 22:26:54 +00:00
renice Move example to EXAMPLES. 2013-03-17 06:36:04 +00:00
rev
revoke use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
rlogin rlogin(1): initialize term variable. 2015-03-05 19:51:37 +00:00
rpcgen rpcgen: fix use use of strcmp 2015-04-19 04:53:28 +00:00
rpcinfo Use INADDR_NONE instead of -1 to check inet_addr() result. 2013-10-15 07:37:30 +00:00
rs Fix missing AUTHOR section for jot(1), rs(1), and lam(1) 2015-04-07 15:56:08 +00:00
rsh r* commands are not precious anymore 2015-03-04 22:01:44 +00:00
rup mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
ruptime
rusers mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
rwall mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
rwho Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
script mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
sed sed: fix pasto from previous r277802. 2015-01-27 19:46:19 +00:00
send-pr Add a stub send-pr that simply points people towards the online support 2014-06-17 12:59:03 +00:00
seq Sync with NetBSD, mainly address NetBSD bug #43355: 2014-12-18 20:23:19 +00:00
setchannel mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
shar
showmount mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
size Build infrastructure for elftoolchain tools 2014-12-01 17:49:42 +00:00
smbutil Remove uneeded link to libkiconv 2015-04-09 21:30:11 +00:00
sockstat The code says "or", not "either or". So fix the documentation. 2015-04-07 14:33:03 +00:00
soelim Parse filename until first space then print the rest of the line after file 2015-05-04 18:20:31 +00:00
sort Remove custom getdelim(3) and fix a small memory leak. 2015-04-07 01:17:49 +00:00
split Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
ssh-copy-id use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
stat use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
stdbuf Remove stray tabs. 2013-01-14 11:06:50 +00:00
strings Build infrastructure for elftoolchain tools 2014-12-01 17:49:42 +00:00
su Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
svn Reduce number of lines to set ORGANIZATION_NAME in 2015-02-12 00:17:14 +00:00
systat Merge from projects/sendfile: 2014-11-30 12:52:33 +00:00
tabs Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tail Print file names without stdio buffering to avoid mixing buffered and 2013-06-09 08:06:26 +00:00
talk Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tar Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tcopy
tee
telnet Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tests Migrate most of tools/regression/usr.bin/ to the new tests layout. 2014-03-16 08:04:06 +00:00
tftp Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
time time: Use close-on-exec instead of fclose() in the child process. 2012-12-08 17:41:39 +00:00
timeout timeout: handle zombie grandchildren 2015-02-15 20:10:53 +00:00
tip A number of places in the source tree still reference cuad.* after 2012-12-08 22:16:36 +00:00
top Print size_t's with %zu rather than "%zd. 2015-03-26 09:13:16 +00:00
touch touch(1): Xref utimensat(2) instead of utimes(2). 2015-03-08 22:49:34 +00:00
tput Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tr Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
true
truncate Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
truss The current POSIX semaphore implementation stores the _has_waiters flag 2014-10-24 20:02:44 +00:00
tset Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
tsort
tty
ul Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
uname Change introduction history. 2013-11-20 17:48:38 +00:00
unexpand NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
unifdef Update to upstream version 2.10 2015-02-25 21:10:03 +00:00
uniq Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
units Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
unvis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
unzip unzip: Don't subvert vfs.timestamp_precision when setting atime to now. 2015-03-15 21:29:20 +00:00
usbhidaction Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
usbhidctl Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
users Unbreak the build by re-enabling exceptions. 2014-07-14 12:24:38 +00:00
uudecode Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
uuencode Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
vacation Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
vgrind Apply seom style(9) fixes from NetBSD 2015-05-05 09:01:42 +00:00
vi Update nvi to 2.1.3 which fixes the data corruption when locale conversion 2015-04-10 17:50:28 +00:00
vis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
vmstat Use clock_gettime to measure the time that we spent asleep during 2015-01-23 16:21:31 +00:00
vtfontcvt vtfontcvt will first ship in FreeBSD 10.1 2014-07-24 15:16:03 +00:00
w Fix libxo output from uptime command 2015-04-16 22:09:37 +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 Fix SIGINFO race causing final results to be lost to stderr. 2015-04-16 21:44:35 +00:00
what
whereis Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin; 2015-02-12 05:35:00 +00:00
which use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
who
whois Try alternate addresses more agressively. 2015-04-25 00:51:44 +00:00
write
xargs Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
xinstall Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
xlint xlint: update. 2015-03-23 18:45:29 +00:00
xo Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
xstr
xz Merge xz 5.2.0. 2015-02-09 06:20:34 +00:00
xzdec Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
yacc Increase MAXTABLE to the maxmimum possible value. The default value is too 2014-11-13 00:46:53 +00:00
yes mdoc: drop the trailing dot from the xref list. 2014-06-05 08:20:14 +00:00
ypcat use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
ypmatch use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
ypwhich
Makefile Replace groff's soelim by soeliminate(1) renamed soelim(1) 2015-05-01 20:08:25 +00:00
Makefile.amd64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.arm Add arm bits to truss. 2013-03-07 23:44:35 +00:00
Makefile.i386 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.inc
Makefile.powerpc - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.sparc64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00