HardenedBSD/usr.bin
John Birrell f2af83ab9e Change a (defaulted) int arg to a long so that a cast from a pointer
doesn't throw anything away. I don't want to re-code the app, just
port it!
1998-02-20 19:59:59 +00:00
..
apply
ar localtime() needs a pointer to time_t which is not necessarily a long. 1998-02-20 05:01:05 +00:00
at Revert part of previous commit. I didn't see rcsid string in the middle of 1997-06-24 06:26:32 +00:00
banner Fix the .Dd line. 1997-08-23 15:49:52 +00:00
basename
biff -Wall cleanup. 1997-12-29 00:09:06 +00:00
brandelf Open the file r/o if looking only. Make the error message more useful. 1997-08-23 15:51:14 +00:00
c89 Added -D_ANSI_SOURCE as discussed with bde, 1997-10-05 18:44:37 +00:00
cal Eleven days were eliminated by the Gregorian Reformation in 1752, not ten. 1997-12-12 10:25:19 +00:00
calendar Update to reflect the current Jewish calendar. 1998-02-08 22:57:59 +00:00
cap_mkdb Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail, 1997-07-06 06:54:14 +00:00
chat -Wall cleanup. 1997-12-29 00:09:06 +00:00
checknr Add prototypes to functions. Make -Wall happy. 1997-06-24 06:54:43 +00:00
chflags Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail, 1997-07-06 06:54:14 +00:00
chkey Fixed missing DPADD. 1997-12-16 14:42:08 +00:00
chpass Removed extra (non-trailing) arg in a call to warnx(). 1997-12-18 15:27:43 +00:00
cksum -Wall cleanup. 1997-12-29 00:09:06 +00:00
cmp Permit hex/octal parameters to cmp, to match what the manual page says. 1997-08-19 14:34:04 +00:00
col
colcrt -Wall cleanup. 1997-12-29 00:09:06 +00:00
colldef Add Slovene link 1997-11-07 15:40:55 +00:00
colrm -Wall cleanup. 1997-12-29 00:09:06 +00:00
column Fix example to match ls(1)'s output. 1997-08-20 02:05:29 +00:00
comm Teach comm(1) and uniq(1) about an option for case-insensitive work. 1997-09-07 15:09:22 +00:00
compile_et Mdoc'ify man page. Use err(3). Remove whoami. 1997-06-30 06:42:43 +00:00
compress Uncompress is under .Nm not .Ar. 1997-06-30 06:44:07 +00:00
cpp
ctags -Wall cleanup. 1997-12-29 00:09:06 +00:00
cut Use err(3) instead of local redefinition. Change argument name in man 1997-06-30 06:48:46 +00:00
dig
dirname
dnsquery
doscmd Printers under FreeBSD are /dev/lpt* 1998-01-22 02:44:54 +00:00
du * add a -c option which displays the grand total of all files 1997-12-29 20:56:21 +00:00
ee Convert to mdoc format. Header -> Id. 1998-02-02 07:09:36 +00:00
env Add usage(). 1997-06-30 06:51:20 +00:00
error Use err(3). Silent -Wall. 1997-11-03 07:44:25 +00:00
expand PR: bin/5529 1998-02-02 07:10:59 +00:00
f2c
false
fetch gcc wants to see long long variables passed to %q printf formats, so 1998-02-20 05:11:42 +00:00
file Can't use ~0L to compare against a uint32. Use ~((uint32) 0) instead. 1998-02-20 04:57:33 +00:00
file2c Nm does not always need an argument. 1997-07-02 06:30:51 +00:00
find Removed definition of _NEW_VFSCONF. The new vfsconf interface is now 1998-01-20 10:40:18 +00:00
finger Document the bogus standard requirement of delaying the close. 1997-08-01 20:26:47 +00:00
fmt Ooops, the Makefile was not supposed to be changed. Unspam this. 1997-09-30 19:42:55 +00:00
fold Add usage(), use err(3). 1997-07-08 10:59:50 +00:00
fpr
from Add usage(), use err(3). 1997-07-08 10:59:50 +00:00
fsplit Add #include <string.h> to get prototypes. 1998-02-20 04:48:37 +00:00
fstat Use -literal to make for a more pleasing list. 1998-01-25 16:38:42 +00:00
ftp Cleanup code so that long lines to be quoted don't get truncated. 1998-02-14 15:38:29 +00:00
gcore Add missing argument detected by "-Wformat". Make messages more 1997-11-18 03:50:25 +00:00
gencat Install gencat.1 manpage. 1997-09-14 20:23:02 +00:00
getopt
global Don't create an unused obj directory. 1998-02-20 11:18:57 +00:00
gprof Revert to original style. 1997-07-15 08:04:40 +00:00
gprof4
head Setting eval to 1 after calling warn was the original behaviour. 1997-07-11 06:13:18 +00:00
hexdump Localize it 1997-11-04 05:33:15 +00:00
host
id Missing newline when euid != ruid. 1998-02-18 17:35:16 +00:00
indent Change defaults to match reality. 1997-10-24 04:13:41 +00:00
ipcrm Add rcsid. Cosmetic in usage string. Typo in man page. 1997-07-15 09:54:34 +00:00
ipcs Add rcsid, Remove unused vars. 1997-07-15 09:55:59 +00:00
join Require all compatability options to begin with '-'. 1997-08-19 15:58:15 +00:00
jot Random data is no longer based on the time of day, rather the random 1998-01-24 03:32:33 +00:00
kdump Use err(3). Correct incomplete man page. 1997-07-16 06:49:49 +00:00
key Use err(3). Rewrote man page in mdoc format. 1997-07-16 06:51:12 +00:00
keyinfo Rewrote man page in mdoc format. 1997-07-16 06:52:13 +00:00
keyinit Use err(3). Mdoc'ify man page. 1997-07-17 06:42:26 +00:00
keylogin Fixed DPADD. 1997-12-16 17:37:23 +00:00
keylogout Add rcsid, remove unused #includes, change exit(-1). 1998-01-14 07:14:11 +00:00
killall Re-order the for loop for multiple procnames. This decrease the 1998-01-01 17:24:43 +00:00
ktrace Delete truss manpage link. We have now a real truss command. 1997-12-06 23:40:13 +00:00
kzip Use err(3). Mdoc'ify man page. 1997-07-18 06:40:46 +00:00
lam Use err(3) instead of local redefintion. Add usage() as a separate 1997-07-18 06:43:15 +00:00
last
lastcomm Cosmetic in usage string. 1997-07-21 12:01:47 +00:00
ldd Use consistent spelling, 1997-12-25 09:36:42 +00:00
leave 1. Don't reject 0145 if started at 22XX. 1998-01-06 17:27:09 +00:00
lex Changes to support full make parallelism (-j<n>) in the world 1997-10-05 09:40:24 +00:00
limits ulimit does not have its own manpage as it is a shell builtin. 1998-02-01 06:19:56 +00:00
locate locate(1) is no longer started by /etc/weekly. 1998-02-07 05:30:14 +00:00
lock Use err(3). Add usage(). 1997-07-21 12:09:34 +00:00
lockf lockf: usage : lockf -> usage: lockf by using fprintf instead of errx. 1997-07-22 07:32:23 +00:00
logger Use err(3). 1997-07-22 07:33:48 +00:00
login gcc on alpha complains about nested comments. A comment in this 1998-02-15 04:09:48 +00:00
logname Show the real revision date and not the date that this 1997-06-23 04:03:49 +00:00
look revert: The warning was supposed to irritate someone into fixing this. 1997-09-15 11:02:10 +00:00
lorder Typo. 1997-07-23 06:48:01 +00:00
lsvfs Started getting rid of the compatibility cruft for the Lite1 mount() 1998-01-17 16:24:27 +00:00
m4 divnum is no longer silently restricted to the range 0..9. (cf: 4098) 1997-08-18 21:01:45 +00:00
mail Fix a style bug, and a real bug (&& vs. & misused). 1998-01-04 10:08:26 +00:00
make Cleanup: fix a few typos, fit ASCII output onto an 80-column terminal 1997-11-23 02:02:39 +00:00
makewhatis Fix a minor nit in the .Dd macro invocation so that 1997-06-23 04:52:13 +00:00
mesg Add usage(). 1997-07-24 07:00:17 +00:00
minigzip Add SEE ALSO section including ref to gzip. Add .An. 1998-01-05 07:14:54 +00:00
mk_cmds Add usage(). 1997-07-24 07:00:17 +00:00
mkdep .Nm mkdep -> .Nm. 1997-07-24 07:01:18 +00:00
mkfifo Add includes and prototype. 1997-07-24 07:02:55 +00:00
mklocale Add #include <string.h> to get prototypes. 1998-02-20 04:48:37 +00:00
mkstr Add #include <string.h> to get prototypes. 1998-02-20 04:48:37 +00:00
modstat Fixed a comment. The module size is (unfortunately) in K, but it is not 1998-02-12 23:58:54 +00:00
more Add #include <string.h> to get prototypes for functions that gcc 1998-02-20 04:13:29 +00:00
msgs Use err(3). 1997-07-29 06:47:18 +00:00
mt Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
ncal Handle option -j correctly. 1998-01-15 10:23:34 +00:00
netstat Add (unsigned) cast to prevent overflow in % 1997-11-10 08:03:36 +00:00
newkey Replace incomplete malloc prototype with #include <stdlib.h> 1998-02-20 04:38:20 +00:00
nfsstat Merged from Lite2. This was mostly already done, mostly indirectly 1998-01-20 12:27:38 +00:00
nice Add ref to idprio(1). 1997-07-21 23:05:06 +00:00
nm Use err(3). Add missing flags in usage string. 1997-07-31 06:53:36 +00:00
nohup Use err(3). 1997-07-31 06:54:45 +00:00
opieinfo
opiekey
opiepasswd
pagesize
passwd Type fix: when -> with 1998-01-03 19:14:02 +00:00
paste Add #include <stdlib.h> to get prototype for malloc(). Without this, 1998-02-20 04:21:46 +00:00
pr Cosmetic and typos. 1997-08-04 06:39:19 +00:00
printenv environmental -> environment. 1997-08-04 06:40:41 +00:00
printf Back out revision 1.10. It broke the build of sh, which compiles 1997-11-18 15:23:23 +00:00
quota Converted to Lite2 mount interface - decide filesystem types by name 1998-01-20 12:53:43 +00:00
ranlib Use err(3). Use #include "" instead of <> for local headers. 1997-08-04 06:48:25 +00:00
rdist Note in manpage how extraneous output in initialization scripts 1997-11-16 13:26:03 +00:00
renice Use err(3). Add usage() and prototypes. 1997-08-05 06:42:48 +00:00
rev Document that multiple args are allowed, i.e Ar file -> Ar file ... 1997-08-05 06:44:28 +00:00
rlogin Changes for KTH KerberosIV. 1997-09-28 08:57:24 +00:00
rpcgen Add #ifdefs for __NetBSD__ in the rest of the places where __FreeBSD__ 1998-01-15 08:46:58 +00:00
rpcinfo Use err(3), cosmetic in usage(). 1997-08-06 06:49:06 +00:00
rs Add #include <string.h> to get prototypes. 1998-02-20 04:48:37 +00:00
rsh Initialise variable that gcc lies awake at night worrying about. 1998-02-20 04:50:50 +00:00
rup Silence a warning with a cast. 1997-09-15 09:46:42 +00:00
ruptime
rusers Proper casting for clnt_broadcast() args. 1997-09-15 09:47:16 +00:00
rwall Use err(3). Add usage(). 1997-08-08 12:18:16 +00:00
rwho Use err(3). Add usage() and prototypes. Add Xr to who(1). 1997-08-08 12:20:24 +00:00
sasc Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format. 1997-08-08 12:22:30 +00:00
script Fix typo while copying patch from the 2.2 system that it came from 1997-12-30 01:20:08 +00:00
sed Remove local redefinition for err(). Add usage(). 1997-08-11 07:21:08 +00:00
shar more sanity check before making output. 1997-08-29 00:44:34 +00:00
showmount Added an replacement for callrpc that uses tcp as primary transport method. 1997-09-04 21:21:56 +00:00
size Use err(3) instead of local redefinition. 1997-08-11 07:28:19 +00:00
soelim Use err(3). Add prototype. 1997-08-11 07:29:17 +00:00
split Cosmetic in err() string. 1997-08-11 07:30:22 +00:00
strings Use err(3). 1997-08-11 07:31:28 +00:00
strip Use err(3) instead of local redefinition. 1997-08-12 06:44:57 +00:00
su I wonder how I managed to get the krb.h include wrong. Anyway: correct it. 1997-10-28 21:20:21 +00:00
symorder Use err(3) instead of local redefinition. Add prototypes. 1997-08-12 06:46:56 +00:00
systat Use 'proto <tcp|udp|all>' to select the protocol to display 1997-12-04 03:44:46 +00:00
tail Change select(0, NULL, ...) to usleep() 1997-12-12 11:47:28 +00:00
talk Add #include <string.h> to get prototype for memcpy(). 1998-02-15 04:15:47 +00:00
tclsh use -I${DESTDIR}/usr/include/tcl, not -I/usr/include/tcl 1997-08-18 11:39:19 +00:00
tconv change `ingored'' to `ignored'' in two places. I noticed this typo 1997-12-08 21:36:25 +00:00
tcopy Use err(3). Correct usage string. Change default tape to /dev/rst0. 1997-08-14 06:41:00 +00:00
tee Use err(3) instead of local redefinition. Add usage(). 1997-08-14 06:42:43 +00:00
telnet Add #include <stdlib.h> to get prototype for malloc(). 1998-02-20 04:34:08 +00:00
tftp Add #include <string.h> to get prototypes. 1998-02-20 04:33:03 +00:00
time Add usage() and use err(3). 1997-08-14 06:48:59 +00:00
tip Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
tn3270 Add usage. Use /usr/share/misc/map3270 instead of /etc/map3270. 1997-08-18 07:21:48 +00:00
top Fix top sorting of idle processes. top used p_cpticks as a tie-breaker 1998-02-14 13:34:59 +00:00
touch Cosmetic. 1997-08-18 07:22:53 +00:00
tput Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail, 1997-07-06 06:54:14 +00:00
tr Submitted by: Joachim Kuebart, thanks. 1997-10-12 09:52:49 +00:00
true Nm true -> Nm. 1997-08-18 07:25:50 +00:00
truss Add a sysmk -> /dev/null definition ready for a coming change to 1998-01-25 09:09:48 +00:00
tset Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
tsort Nm tsort -> Nm. 1997-08-18 07:28:50 +00:00
tty Add usage(). 1997-08-18 07:30:15 +00:00
ul Main() returns int. 1997-08-26 11:08:24 +00:00
uname Nm uname -> Nm. 1997-08-20 11:03:54 +00:00
unexpand Add #include <string.h> to get prototypes. 1998-02-20 04:33:03 +00:00
unifdef Main() returns int. 1997-08-26 11:08:24 +00:00
uniq Teach comm(1) and uniq(1) about an option for case-insensitive work. 1997-09-07 15:09:22 +00:00
units Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format. 1997-08-21 06:49:33 +00:00
unvis Main() returns int. 1997-08-26 11:08:24 +00:00
users Main() returns int. 1997-08-26 11:08:24 +00:00
uudecode Add two new options: 1998-01-25 19:26:05 +00:00
uuencode Add two new options: 1998-01-25 19:26:05 +00:00
vacation Add const to copyright string. Hide sccsid string. 1997-11-03 07:51:05 +00:00
vgrind Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
vi Polish message catalogs for vi. 1997-09-22 23:14:37 +00:00
vis Use err(3). Add usage() and prototypes. 1997-08-25 06:37:37 +00:00
vmstat Const poisoning from ks_shortdesc. 1997-12-05 19:28:28 +00:00
w Reword the synopsis line so that it makes sense. 1998-01-12 00:47:52 +00:00
wall Change manual declarations of some functions to proper includes 1997-09-15 01:03:16 +00:00
wc Sync usage string according to man page. Silent -Wall. 1997-08-25 06:44:59 +00:00
what Just forgot a moment that mdoc macros are limited to 9 parameters. 1997-08-26 07:04:20 +00:00
whereis Fix sysctl path /usr/sbin->/sbin 1997-12-22 19:11:28 +00:00
which Search for proper executables, ignore directories 1998-02-01 20:01:29 +00:00
who Use err(3). Add usage(). 1997-08-26 11:14:57 +00:00
whois Make it more convenient to query NICs other than InterNIC. Explain in the 1998-02-19 19:07:50 +00:00
window Change a (defaulted) int arg to a long so that a cast from a pointer 1998-02-20 19:59:59 +00:00
write Allow backspace too 1997-09-15 00:42:04 +00:00
xargs Submitted by: Peter Hawkins <peter@clari.net.au> 1997-12-13 06:34:47 +00:00
xinstall Converted to Lite2 mount interface - don't use numeric filesystem 1998-01-20 13:52:32 +00:00
xlint Work around a gcc bug (causing false warnings about integral constant being too large, even when the integral constant was e.g. 1). 1997-06-12 18:10:08 +00:00
xstr Use err(3). Add usage and prototypes. Use getopt(). Document -v flag. 1997-08-28 06:28:08 +00:00
yacc Add #include <string.h> to get prototypes. 1998-02-20 04:33:03 +00:00
yes
ypcat Use err(3). Add references to others man pages. Wait for the user to 1997-08-29 11:48:50 +00:00
ypmatch Add #include <string.h> to get prototypes. 1998-02-20 04:33:03 +00:00
ypwhich Add ypwhich(1) and yppoll(8) manual pages. 1997-09-21 11:49:18 +00:00
Makefile Remove cal, add ncal. 1997-12-15 20:52:24 +00:00
Makefile.inc