1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/usr.bin
Pedro F. Giffuni c1a08643e3 patch: unsign the line length to avoid overflows.
Patch(1) uses a short int for the line length, which is usually
sufficient for regular diffs, but makes no effort to signal
when there is an overflow.

Change the line length to an unsigned short int to better use
the fact that a length is never negative.  The change is loosely
inspired on a related change in DragonFly, but we avoid spending
more memory than necessary.

While here adjust the messages to be clearer on what is happening.

MFC after:	1 week
2014-06-15 03:54:23 +00:00
..
alias
apply Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
ar Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
asa
at - Do not bail out if stat(2) fails with ENOENT in the spool directory. This 2013-04-12 14:32:16 +00:00
atm
awk
banner
basename
bc Stop casting the const char * to void * to char * to make compile more happy 2014-04-17 14:15:53 +00:00
biff Fix EXIT STATUS. biff reports its status when it was invoked. 2013-04-28 09:29:44 +00:00
bluetooth
bmake Add .../share/mk to the default system make path. This will fix the 2014-05-23 00:20:44 +00:00
brandelf udpate VERY old email address.. I haven't had this email address for 2014-03-26 03:18:27 +00:00
bsdiff Make usage printing more consistent with other tools. 2014-04-23 14:05:28 +00:00
bzip2
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 Added: 2014-06-14 00:10:10 +00:00
cap_mkdb
catman
chat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
checknr
chkey Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
chpass Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
cksum More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
clang In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE. 2014-06-08 17:29:31 +00:00
cmp Bump .Dd for recent change 2013-11-18 23:11:42 +00:00
col
colcrt
colldef
colrm
column
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 In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE. 2014-06-08 17:29:31 +00:00
compress Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
cpio Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
cpuset
csplit Correct example. 2014-02-08 13:29:35 +00:00
csup Use the system queue.h instead of bundling its own. 2014-03-15 01:20:42 +00:00
ctags
ctlstat Fix bugs in the elapsed time calculation in ctlstat_standard() 2013-04-11 21:18:04 +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 Sync with OpenBSD. 2014-04-16 23:14:05 +00:00
dirname NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
drill Build and install drill(1). 2013-09-22 20:30:55 +00:00
dtc dtc: ignore lines starting with #. 2014-06-10 06:16:34 +00:00
du New sentence, new line. 2012-11-04 09:27:01 +00:00
ee Fix spelling. 2013-03-11 13:08:32 +00:00
elf2aout
elfdump Handle ELF files with 65280 or more sections 2014-05-07 21:16:47 +00:00
enigma Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
env
expand
false
fetch Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
file Update file(1) to version 5.11. 2012-04-19 03:20:13 +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 Avoid double free in f_acl(). 2014-04-13 19:48:51 +00:00
finger More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
fmt
fold
from Add static where appropriate. 2013-11-21 21:19:01 +00:00
fstat Similar to 233760 and 236717, export some more useful info about the 2013-05-03 21:11:57 +00:00
fsync
ftp Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
gcore Add some missing DPADD. 2013-05-11 13:46:05 +00:00
gencat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
getconf
getent Add support for netgroup, based on patch in the PR but made consistent 2013-05-23 20:52:30 +00:00
getopt
gprof rework old-style functions prototypes 2013-02-14 08:16:03 +00:00
grep Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
gzip Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
head Remove EOL whitespace accidentally introduced in r248393. 2013-03-17 06:57:25 +00:00
hesinfo
hexdump Constify. 2014-04-25 04:01:25 +00:00
host Remove BIND. 2013-09-30 17:23:45 +00:00
iconv - Make invalids variable local to do_conv such that it prints the number 2014-06-13 08:44:03 +00:00
id Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
indent multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
ipcrm General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
ipcs Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
iscsictl Grammar fix. 2014-04-24 11:27:03 +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 Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
kdump Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
keylogin WARNS=6 compliance 2013-02-19 13:32:26 +00:00
keylogout
killall Re-work r260800 to include other signals which start with 'I' 2014-01-17 04:16:39 +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 Don't dump entries that were modified during the time the KTR buffer was being 2014-03-14 22:07:08 +00:00
lam
last Bump date missed in r202756 2012-09-14 17:50:42 +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 Avoid double close() of a file descriptor. 2014-04-13 20:12:21 +00:00
leave
less Note that the manual page of less(1) says: 2012-12-03 21:49:37 +00:00
lessecho
lesskey
lex Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
limits sh(1),limits(1): Document kqueues (-k) rlimit. 2013-11-01 13:57:30 +00:00
locale Sort options. 2012-11-17 23:52:38 +00:00
locate NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
lock Rollback r266496. 2014-05-22 09:28:36 +00:00
lockf Add option to lockf to avoid creating a file if it does not exist. 2013-05-10 17:30:29 +00:00
logger Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
login Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
logins Reencode files from latin1 to UTF-8. 2011-12-30 10:59:15 +00:00
logname
look look(1): add compability with other implementations. 2014-05-11 02:00:48 +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
m4 Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
mail Remove unnecessary cast to pid_t. 2013-07-04 03:24:58 +00:00
make Move old fmake tests into bmake and hook them to the build. 2014-05-14 18:43:13 +00:00
makewhatis Currently the code uses gzFile * for a zlib file descriptor, which 2012-06-20 23:53:36 +00:00
man Remove default support for 1aout section manpages. There haven't been 2013-01-16 23:20:24 +00:00
mandoc In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE. 2014-06-08 17:29:31 +00:00
mesg mesg: remove advertising clause 2014-05-11 02:04:40 +00:00
minigzip MFV: Update zlib to 1.2.7. 2012-06-21 21:47:08 +00:00
ministat Make ministat CRNL tolerant by stripping all isspace() from the tail 2014-03-12 08:54:29 +00:00
mkcsmapper To avoid having to explicitly test COMPILER_TYPE for setting 2013-12-22 17:51:33 +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 Attempt to deal with a compile failure that shows up with gcc, which 2013-07-03 18:25:27 +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 Minor mdoc improvements. 2014-06-06 19:00:43 +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 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 Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
netstat Minor mdoc nit. 2014-06-06 08:42:03 +00:00
newgrp Print a warning if not setuid root. 2013-02-08 14:14:00 +00:00
newkey Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
nfsstat Use the DELTA() macro to tidy the server-side interval stats code a bit. 2014-02-05 14:44:59 +00:00
nice
nl Treat the '-' as meaning standard input. 2014-05-04 12:20:40 +00:00
nohup
opieinfo
opiekey
opiepasswd
pagesize
pamtest Update to OpenPAM Micrampelis. 2012-05-26 17:10:16 +00:00
passwd Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
paste
patch patch: unsign the line length to avoid overflows. 2014-06-15 03:54:23 +00:00
pathchk pathchk: Ensure bytes >= 128 are considered non-portable characters. 2013-10-20 20:10:31 +00:00
perror
pr multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
printenv
printf printf: Install tests/regress.missingpos1.out, fixing tests. 2014-06-01 13:33:22 +00:00
procstat Add descriptions of the display formats for -e, -l, -r, and -x. Fix a few 2014-05-17 16:12:50 +00:00
protect Correct stale comments. 2013-09-20 16:05:09 +00:00
quota
rctl Mention that rctl(8) was sponsored by the Foundation. 2014-02-16 08:42:52 +00:00
renice Move example to EXAMPLES. 2013-03-17 06:36:04 +00:00
rev
revoke
rlogin More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
rpcgen Fix some rpcgen sample file issues. 2014-06-06 17:38:37 +00:00
rpcinfo Use INADDR_NONE instead of -1 to check inet_addr() result. 2013-10-15 07:37:30 +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 Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
script Bring back r226403, the fix for bin/161526, which was (accidentally?) 2014-01-17 21:45:25 +00:00
sed Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +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 Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
split Add missed DPADD 2013-11-09 09:05:50 +00:00
ssh-copy-id Fix syntax error with modern shells 2014-05-03 08:52:52 +00:00
stat Minor fixes to previous change introducing switch -H, as per comments 2014-05-11 18:49:18 +00:00
stdbuf Remove stray tabs. 2013-01-14 11:06:50 +00:00
su Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
svn In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE. 2014-06-08 17:29:31 +00:00
systat Revert r261296. This removes the WITHOUT_NCURSESW option. 2014-05-15 16:44:25 +00:00
tabs
tail Print file names without stdio buffering to avoid mixing buffered and 2013-06-09 08:06:26 +00:00
talk Make talk(1) capable of displaying UTF-8 characters. 2014-03-17 11:58:48 +00:00
tar Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
tcopy
tee Reverting last change r231449 (fix bin/164947) due to concerns voiced 2012-02-11 16:34:03 +00:00
telnet In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE. 2014-06-08 17:29:31 +00:00
tests Migrate most of tools/regression/usr.bin/ to the new tests layout. 2014-03-16 08:04:06 +00:00
tftp Increase MAXLINE to deal with longer paths. 2014-03-04 01:14:37 +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 Rework the notion of CPU used in top. In particular, for subsequent 2014-05-30 21:18:53 +00:00
touch Constify where appropriate. 2013-04-23 13:03:17 +00:00
tput
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 truncate: Detect integer overflow, fix relative sizes, add tests. 2014-06-09 10:39:55 +00:00
truss Add Linux socket call decoding to truss 2014-04-24 14:12:35 +00:00
tset More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
tsort
tty
ul Fix a signed/unsigned comparison when wchar_t is unsigned by casting the 2013-01-06 03:08:27 +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.7 2013-03-28 20:33:07 +00:00
uniq Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
units units(1): Fix minor typos 2014-05-15 05:35:00 +00:00
unvis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
unzip Replace deprecated (or remove obsolete) libarchive 2.8 functions 2013-03-22 10:17:42 +00:00
usbhidaction
usbhidctl mdoc sweep. 2013-05-12 22:22:12 +00:00
users - Avoid calling a wrapper function around strcmp 2014-06-03 20:59:26 +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 In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE. 2014-06-08 17:29:31 +00:00
vgrind NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
vi Revert r261296. This removes the WITHOUT_NCURSESW option. 2014-05-15 16:44:25 +00:00
vis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
vmstat - Show page faults requiring I/O when -s invoked. 2013-01-28 12:58:37 +00:00
vtfontcvt Avoid leaking file pointer on error 2014-06-11 17:19:57 +00:00
w Revert r253748,253749 2013-07-28 18:44:17 +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 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
which
who Remove contractions. 2012-10-07 20:01:41 +00:00
whois mdoc: minor paragraph fixes. 2014-02-08 13:37:02 +00:00
write Fix write(1) to support wide characters. 2012-02-13 14:40:15 +00:00
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 install: Use posix_spawnp() for starting strip and improve error messages. 2014-03-08 23:05:28 +00:00
xlint NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
xstr
xz
xzdec
yacc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
yes mdoc: drop the trailing dot from the xref list. 2014-06-05 08:20:14 +00:00
ypcat
ypmatch
ypwhich
Makefile vt fontcvt: move to usr.bin/vtfontcvt 2014-06-10 18:29:45 +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.ia64 - 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