NetBSD/usr.bin
martin a3b5baed42 Fix alignement problems for fhandle_t, exposed by gcc4.1.
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).
2006-07-13 12:00:24 +00:00
..
apply Avoid casting an lvalue. 2005-05-08 19:53:57 +00:00
apropos modified man(1): 2006-04-10 14:39:06 +00:00
asa
at Kill NULL deref (CID: 871) 2006-03-21 21:59:56 +00:00
audio Coverity CID 3187: Fix memory leak 2006-05-23 01:07:16 +00:00
awk use -Wno-pointer-sign for GCC4. 2006-05-11 01:19:55 +00:00
banner
basename Clean up by using basename(3) from libc. 2005-04-04 16:47:54 +00:00
bdes
biff
bthset Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@, 2006-06-19 15:44:33 +00:00
btpin Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@, 2006-06-19 15:44:33 +00:00
bzip2
bzip2recover
cal appease gcc -Wuninitialized 2005-06-02 01:35:57 +00:00
calendar Victoria Day in Canada occurs on the Monday prior to May 25th 2006-05-20 22:31:02 +00:00
cap_mkdb Write the database file into a temporary file first, because otherwise if 2005-04-13 04:50:22 +00:00
cdplay New sentence, new line. Bump date for previous. 2006-01-12 21:00:58 +00:00
checknr Coverity CID 2969: Check for negative stack in the 'P' case like we do in 2006-04-25 19:25:19 +00:00
chflags
chpass Mention pwhash(1) in a few places, 2005-09-05 03:37:14 +00:00
cksum Be more liberal about whitespaces when verifying checksums. 2006-05-07 12:22:55 +00:00
cmp off-by-one (thanks to our anonymous contributor) 2006-06-03 21:47:55 +00:00
col
colcrt
colrm
column Coverity CID 1596: Plug memory leak. 2006-04-09 19:51:23 +00:00
comm
compile_et
compress Coverity CID 2536: Clarify the error path further. 2006-04-09 20:01:40 +00:00
config s/setmachine/machine. Overlook pointed out by Havard Eidnes. 2006-07-05 10:11:02 +00:00
crontab apply -Wno-pointer-sign with GCC4. 2006-05-12 03:29:11 +00:00
crunch Check for powerpc64 when enumerating MACHINE_ARCH 2006-07-08 05:43:35 +00:00
ctags don't do the -Wno-pointer-sign dance for host programs. 2006-05-12 01:18:25 +00:00
cut Coverity CID 2790: Always free tmp buffer, not somethimes. 2006-04-25 19:34:42 +00:00
db Allow the input [file] field separator to be a string and not just a 2005-06-20 02:53:38 +00:00
deroff We already pass WARNS=3. 2005-09-01 18:27:24 +00:00
dirname Clean up by using dirname(3) from libc. 2005-04-04 16:46:55 +00:00
du Add -n to the usage message. 2006-05-10 23:35:03 +00:00
eject
elf2aout
elf2ecoff Fix "pointer targets in passing argument X of 'Y' differ in signedness" 2006-05-31 08:09:55 +00:00
env de-__P, add ANSI prototypes, and a teeny bit of KNF. 2006-01-04 01:05:19 +00:00
error Coverity CID 2331: Plug memory leak. 2006-04-09 19:27:22 +00:00
expand
extattr mark strpy safe 2006-06-17 08:32:42 +00:00
false
fdformat
fgen Coverity CID 1748: Free alias on error. 2006-04-22 17:51:09 +00:00
file
find quell GCC 4.1 uninitialised variable warnings. 2006-05-10 21:53:14 +00:00
finger no need to cast setlocale()'s return value. 2006-05-11 01:20:33 +00:00
fmt warns=4 2006-03-16 16:49:07 +00:00
fold
fpr
from
fsplit
fstat remove __POOL_EXPOSE. 2006-05-27 09:14:03 +00:00
ftp Coverity CID 3610: derefencing NULL pointer. 2006-05-23 23:59:48 +00:00
gcore PR/26804: Jason Thorpe: Make PT_DUMPCORE require the process to be PT_ATTACH'ed 2006-04-01 22:34:00 +00:00
genassym /sys is no longer available, change it to /usr/src/sys. 2005-08-18 01:09:02 +00:00
gencat MCDelSet() contains an infinite loop! 2006-03-30 20:32:10 +00:00
getconf
getent getservbyport(3) wants the port in network order. 2006-05-04 23:22:21 +00:00
getopt ANSIfy, remove unnecessary errno.h inclusion. 2006-07-09 21:39:48 +00:00
gprof
grep Changed the type of some size variables from int to size_t. Added const 2006-05-15 21:12:21 +00:00
gzip properly check the return value of read() & pread(). PR#26688. 2006-07-13 11:51:39 +00:00
head
hesinfo
hexdump Simplify the way the end of a singly linked list is followed (for adding 2006-03-30 19:53:58 +00:00
iconv make the error message kindly if the last character is incompleted. 2005-04-25 13:57:34 +00:00
id Print the euid after the gid as demanded by POSIX. 2006-06-07 13:09:56 +00:00
indent When marking up "C", use .Tn consisntently. From YOMURA Masanori in private mail. 2005-09-11 23:17:34 +00:00
innetgr
ipcrm
ipcs Coverity CID 1858, 1857: Fix leaks. While here, pass lint use warn/warnx 2006-04-28 20:35:15 +00:00
join de-__P, ANSIfy prototypes 2006-01-04 01:44:06 +00:00
jot PR/33709: Kevin Massey: Avoid stack smashing in args copy 2006-06-13 03:22:00 +00:00
kdestroy Remove some more kerberosIV references. 2006-03-23 21:48:18 +00:00
kdump We don't need to define struct ap_control anymore 2006-06-03 03:15:24 +00:00
kgetcred
kinit Remove some more kerberosIV references. 2006-03-23 21:48:18 +00:00
klist Remove some more kerberosIV references. 2006-03-23 21:48:18 +00:00
ktrace #include a necessary header directly, rather than via user.h. 2006-05-11 11:58:04 +00:00
ktruss Fix alignement problems for fhandle_t, exposed by gcc4.1. 2006-07-13 12:00:24 +00:00
lam
last Code indentation fix up. 2006-02-28 17:17:43 +00:00
lastcomm WARNS=3, ansi, knf 2005-03-28 23:33:22 +00:00
ldd Make yet another ELF64 check work for powerpc64. 2006-07-08 06:51:36 +00:00
leave Fix Xref. End sentence with a dot. From YOMURA Masanori in private mail. 2005-09-11 23:18:42 +00:00
less XXX: GCC uninitialized variables 2006-05-14 02:51:03 +00:00
lex Coverity CID 522: Clarify that there is no overrun here. 2006-04-22 20:51:09 +00:00
locale make "locale -a" read locale.alias file. 2006-02-16 19:19:49 +00:00
locate Redo the previous change so that we can ignore access errors from find, 2006-04-23 03:04:08 +00:00
lock clear errno before using strtol 2006-05-11 12:02:08 +00:00
logger
login s/0/NULL/ for execl*'s last argument. 2006-05-20 10:31:59 +00:00
logname
look
lorder In preparation for making TOOL_LORDER use TOOL_JOIN, TOOL_MKTEMP and 2006-06-27 12:28:43 +00:00
m4 exp() -> m4_exp(). 2006-05-11 01:22:20 +00:00
machine
mail Make mail(1) invoke "sendmail" instead of "send-mail", this is more standard. 2006-06-15 13:03:29 +00:00
make Fixed gcc warnings about signed vs. unsigned in comparisons. 2006-06-29 22:02:06 +00:00
man Coverity CID 2996: Don't return without closing fp. 2006-05-01 23:22:48 +00:00
menuc Another mispelling fix. I should have done these all in one commmit 2006-06-17 02:27:05 +00:00
mesg - Check stdin, stdout, and stderr for a tty. From Liam Foy for SUSv3 2005-07-30 16:14:39 +00:00
midiplay Bump date for previous. New sentence, new line. 2006-07-02 01:48:51 +00:00
mixerctl Two improvements, from a diff from jmc@openbsd. 2006-02-25 01:19:22 +00:00
mk_cmds
mkcsmapper change #include <sys/endian.h> => #include <machine/endian.h> so that 2006-02-09 22:03:15 +00:00
mkdep make this compile again. 2006-03-20 23:13:51 +00:00
mkesdb change #include <sys/endian.h> => #include <machine/endian.h> so that 2006-02-09 22:03:15 +00:00
mkfifo fix setmode error handling. 2005-10-01 20:23:54 +00:00
mklocale
mkstr
mktemp Increased WARNS to 4. 2006-05-19 20:06:30 +00:00
modstat WARNS=4, ansi pass lint. 2006-05-15 14:30:38 +00:00
moduli make MKCRYPTO=no work again. 2006-06-25 03:02:19 +00:00
msgc Sorry, fix syntax error in previous. 2006-05-12 07:20:13 +00:00
msgs
netgroup
netstat It's not an error if we can't print CARP stats, it just means it's not built 2006-06-20 19:22:17 +00:00
newsyslog Reworded, because it previously made it sound like it only sent a 2005-04-21 17:33:31 +00:00
nfsstat
nice From Liam Foy: 2005-10-05 21:20:46 +00:00
nl quell GCC 4.1 uninitialised variable warnings. 2006-05-10 21:53:14 +00:00
nohup Improve command description, from jmc, jaredy, and tom, all @openbsd. 2005-07-14 22:16:39 +00:00
openssl libcompat isn't needed any more here. 2006-02-25 12:00:24 +00:00
pagesize
passwd Get rid of more Kerberos 4 code. 2006-03-23 23:33:28 +00:00
paste cast line_len to (int) to avoid warn. 2006-04-01 06:36:58 +00:00
patch Coverity CID 3510: Don't leak memory. 2006-05-24 16:43:35 +00:00
pathchk
paxctl add missing prototypes 2006-05-16 02:37:24 +00:00
pkill Fix cross-reference to grep(1). 2006-04-01 16:12:23 +00:00
pmap remove "XXX = <struct simplelock>" from -D output. 2006-06-24 12:34:51 +00:00
pmc Coverity CID 2355: Checking event for NULL is supefluous; restructure the 2006-04-09 18:57:10 +00:00
pr Coverity CID 3212: Don't return, goto out in all cases so that cleanup 2006-05-24 15:59:06 +00:00
printenv
printf
progress Don't try to determining the size of what's coming when reading from a pipe. 2006-04-20 23:20:55 +00:00
pwhash PR/31144: YOMURA Masanori: pwhash -S/-b never use optarg 2006-03-05 08:50:58 +00:00
qsubst
quota
radioctl u_long -> u_int in many places. i guess radioctl(1) was broken on sparc64. 2006-05-11 01:24:14 +00:00
rdist end the argument list to exec*(3) with a NULL instead of a bare '0', as 2006-05-11 00:22:52 +00:00
renice - Exit with non-zero on errors (from Liam Foy) 2005-10-09 18:23:52 +00:00
rev
rfcomm_sppd Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@, 2006-06-19 15:44:33 +00:00
rlogin change (mostly) int to socklen_t. GCC 4 doesn't like that int and 2006-05-09 20:18:05 +00:00
rpcgen xdr sucks. sprinkle some (void *) casts into it's functions taking void **, 2006-05-11 17:11:57 +00:00
rpcinfo Coverity CID 2285: in the dump and dumpshort case, don't trash head so that 2006-05-24 16:04:03 +00:00
rs We have spell again, xref it. From YOMURA Masanori in private mail. 2005-09-11 23:22:03 +00:00
rsh Remove some more old kerberos4 code. Simplify usage. 2006-03-23 23:49:07 +00:00
rup From Liam Foy: 2005-08-07 16:01:45 +00:00
ruptime reference uptime(1) correctly 2006-05-13 12:41:54 +00:00
rusers call ctime() with an actual time_t *. 2006-05-11 01:25:23 +00:00
rwall - Minor logical restructure. Make sure we can create the client before 2005-08-09 23:41:38 +00:00
rwho The nusers variable is actually a size_t, so print with %zd, not %d. 2005-10-01 13:33:21 +00:00
script Fix PR: 26363: script core dumps on incorrect input files. 2006-06-14 16:05:38 +00:00
sdpquery Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@, 2006-06-19 15:44:33 +00:00
sed Make TOOL_SED, to allow using our own sed in cases where the host's version 2006-06-18 05:16:41 +00:00
seq Add missing DPADD for LIBMATH 2006-01-07 07:12:27 +00:00
shar UCB copyrights are supposed to be three clause these days 2005-06-30 02:36:35 +00:00
shlock
showmount ANSIfy. de-P(). Syle nits. 2005-09-25 18:56:33 +00:00
shuffle
skey Mark up authors with .An. From YOMURA Masanori in private mail. 2005-09-11 23:25:32 +00:00
skeyinfo
skeyinit Initialize pw to placate -Wuninitialized for sh3. 2005-09-20 15:48:17 +00:00
sockstat Argument is address_family, not "address family". From YOMURA Masanori in private mail. 2005-09-11 23:26:35 +00:00
soelim
sort char -> u_char in a couple of places to match other variables. 2006-05-11 19:16:42 +00:00
spell lexi_co_graphical, with "co". From Igor Sobrado in PR 32231. 2005-12-04 09:14:58 +00:00
split
ssh Only use -Wno-pointer-sign for gcc4. 2006-05-12 03:52:05 +00:00
stat Sort SEE ALSO. Drop trailing space. 2005-06-26 10:16:46 +00:00
string2key Remove some more kerberosIV references. 2006-03-23 21:48:18 +00:00
su restore elevated priority before launching command in 2006-05-14 21:18:31 +00:00
systat Reduce the field widths for the summary line of traps, system calls 2006-05-21 20:22:34 +00:00
tail Coverity CID 3204: The USE_SLEEP case can close the fp, and break does 2006-05-24 16:34:25 +00:00
talk Fix Coverity CID 1248, negative return from read() passed() to write() 2006-03-18 03:40:51 +00:00
tcopy Coverity CID 1565: Fix memory leak. 2006-04-30 23:30:13 +00:00
tee
telnet sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
tftp Coverity CID 894: Avoid NULL dereference that cannot really happen. 2006-04-09 18:47:49 +00:00
time Sprinkle some KNF. 2005-10-27 01:43:48 +00:00
tip the intention of the whole tip-as-cu thing was to allow tip-as-cu and 2006-05-22 12:32:20 +00:00
tn3270 Fix mispelling. 2006-06-17 02:06:17 +00:00
top Remove various dotfiles that wandered their way in. 2006-06-18 08:59:39 +00:00
touch Coverty 1212: Avoid close(-1). 2006-03-18 11:15:00 +00:00
tput Usage should exit with to according to posix (from Liam Foy). 2005-07-30 14:43:13 +00:00
tr use -Wno-pointer-sign with GCC4. 2006-05-12 01:26:05 +00:00
true
tset Rename cat to tset_cat so that coverity does not get confused by the global 2006-05-01 23:18:37 +00:00
tsort WARNS=3 2005-07-19 23:18:31 +00:00
tty
ul
uname Sort options alphabetically. 2005-03-27 18:41:22 +00:00
unexpand
unifdef Coverity CID 1206: Confusion between && and || leads to indexing an array 2006-04-30 23:56:42 +00:00
uniq
units Coverity CID 814: Add extraneous checks to shut up Coverity. 2006-05-01 00:00:12 +00:00
unvis
usbhidaction Sprinkle static, pass lib, warns=4 2006-05-19 14:43:58 +00:00
usbhidctl quell GCC 4.1 uninitialised variable warnings. 2006-05-10 21:53:14 +00:00
users
utoppya Sort SEE ALSO; mark up -; end sentence with dot. 2006-04-04 20:45:41 +00:00
uudecode de-__P(), ansify, use {g,s}etprogname. 2005-06-29 20:34:48 +00:00
uuencode Add setprogname call. 2005-06-29 20:35:48 +00:00
uuidgen
vacation
vgrind Need assert.h now. 2006-05-01 05:14:22 +00:00
vi Fix previous Coverity "fix" so that it doesn't break vi completely. 2006-05-27 12:03:37 +00:00
vis
vmstat accept either "time_second" or "time" as kernel timevariable in 2006-07-09 06:43:16 +00:00
vndcompress Fix typo ("program"). 2006-02-23 20:57:03 +00:00
w Use the UTX sizes + 1 for the struct to save space. 2006-06-22 17:57:31 +00:00
wall
wc de-__P, ANSIfy prototypes 2006-01-04 01:58:05 +00:00
what
whatis modified man(1): 2006-04-10 14:39:06 +00:00
whereis
who Another overrun forgotten in previous commit, also found by Coverity. 2006-03-17 20:44:28 +00:00
whois Coverity CID 1736: close files before returning. 2006-05-02 22:26:46 +00:00
window Coverity CID 3184: Don't dereference NULL 2006-05-23 01:11:12 +00:00
write strncpy -> strlcpy 2006-06-17 08:22:06 +00:00
xargs Query kernel for maximum argument size instead of using ARG_MAX. 2006-03-28 14:27:41 +00:00
xinstall char -> u_char for a buffer passed to MD5*(). 2006-05-11 06:09:44 +00:00
xlint PR/33984: YAMAMOTO Takashi: lint complains about typedef 2006-07-12 20:03:48 +00:00
xstr Remove unneeded macro default arguments. From YOMURA Masanori in private mail. 2005-09-11 23:29:44 +00:00
yacc Coverity annotation 2006-05-25 21:43:40 +00:00
yes Make yes exit if a write fails (due to, e.g., EPIPE or revocation). 2006-04-24 05:24:03 +00:00
ypcat
ypmatch
ypwhich
Makefile Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@, 2006-06-19 15:44:33 +00:00
Makefile.inc