NetBSD/usr.bin
matt 45362e3914 Defer nlist processing until we know we need to it. If everything can be
obtained via sysctl, we can skip it entirely.  This means we can run even
if not setgid.

getuptime will now use sysctl/clock_gettime if memf is NULL.
doevcnt now sues sysctl(kern.evcnt) is memf is NULL.  It falls back to
groveling if sysctl returns an error of ENOENT.
dointr will call doevcnt to evcnt based intr stats.
2011-01-29 18:10:08 +00:00
..
apply Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
apropos Add support for -S and -s option, which limit the results to a specific 2009-05-08 12:48:43 +00:00
asa Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
at PR/44147: Henning Petersen: Add missing closedir calls. 2010-11-24 17:40:41 +00:00
audio Sort usage. 2010-12-29 18:49:41 +00:00
audiocfg return an error if testing fails, and dump the device info before running tests 2010-09-03 19:20:37 +00:00
awk Make this build as part of the dist/miniroot build, where it's still 2010-12-15 08:09:23 +00:00
banner Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
basename Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
bdes Use .%U instead of .%O for URLs. 2010-01-15 19:39:10 +00:00
biff Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
bthset update to use the new service discovery API 2009-05-12 18:39:55 +00:00
btkey accept uppercase hex digits when parsing a provided key 2009-12-10 18:57:31 +00:00
btpin add a -P flag to attempt immediate pairing 2009-05-16 07:18:42 +00:00
bzip2
bzip2recover
cal Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
calendar Ahem. "Battle" of Wounded Knee? How about "massacre"? 2010-12-02 08:36:02 +00:00
cap_mkdb Fix trailing whitespace 2010-05-14 01:53:28 +00:00
cdplay Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
checknr Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
chflags Missing -width for .Bl -tag 2010-05-14 16:48:02 +00:00
chpass
cksum Use plain \* not \\*. Fix trailing whitespace 2010-05-14 01:57:21 +00:00
cmp Compare size_t vs off_t by casting both to uintmax_t 2009-04-18 06:24:05 +00:00
col Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
colcrt Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
colrm Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
column Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
comm Don't include newlines when comparing to prevent errors when lines have 2009-11-28 03:56:38 +00:00
compile_et Typo: s/ a a/ as a/ 2010-04-05 21:33:09 +00:00
compress
config Emit compatible struct devsw_conv when version is older than 20100430. 2010-07-30 16:23:49 +00:00
crontab
crunch pass LDSTATIC to recursive makes. 2010-04-24 17:58:40 +00:00
csplit Rename internal getline() function to get_line() so it does 2009-07-13 19:05:39 +00:00
ctags Reorder to canonical order. 2010-05-14 16:48:36 +00:00
cut Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
db Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
deroff Remove superfluous parenthesis in #ifdef DEBUG. 2009-08-07 14:05:58 +00:00
dirname Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
du Add #include <sys/param.h> 2010-07-08 20:52:22 +00:00
eject don't bother to connect to amd unless necessary. PR/42207 2010-06-23 18:07:59 +00:00
elf2aout build elf2aout and fdformat on macppc64 (for now, it's a lot easier than 2010-03-30 07:26:23 +00:00
elf2ecoff Use %zu for size_t, not %zd. 2009-12-19 10:27:13 +00:00
env minor KNF nits. 2010-11-16 02:53:49 +00:00
error \\ -> \e 2010-04-05 21:16:21 +00:00
expand Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
extattr Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
false
fdformat build elf2aout and fdformat on macppc64 (for now, it's a lot easier than 2010-03-30 07:26:23 +00:00
fgen Some bugfixes and enhancements. Support for case .. of and fix calculation 2010-02-08 20:14:55 +00:00
find Fix "-exec blah blah {} +" so it only matches when the {} is last, as 2011-01-06 08:18:42 +00:00
finger
fmt Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
fold Fix section order. Use .Ex -std 2010-05-14 16:54:48 +00:00
fpr
from
fsplit Rename internal getline() function to get_line() so it does 2009-07-13 19:05:39 +00:00
fstat move _KMEMUSER higher! 2009-07-13 21:44:32 +00:00
ftp In ftpvis(), prevent incomplete escape sequences at end of dst, 2010-06-05 13:59:39 +00:00
gcore
genassym Split overly large paragraph. 2010-04-13 09:01:10 +00:00
gencat Rename internal getline() function to get_line() so it does 2009-07-13 19:05:39 +00:00
getconf Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
getent Sort SEE ALSO. New sentence, new line. Whitespace fix. 2010-02-04 09:48:35 +00:00
getopt punctuation 2010-01-24 20:13:28 +00:00
gprof
grep Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
gss Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
gzip pull across a few changes from the freebsd folks: 2010-11-06 21:42:32 +00:00
head Just ignore the errno of strtoimax, it doesn't provide much value. 2010-03-31 21:55:23 +00:00
hesinfo
hexdump Replace "\t" with Ta in table. 2010-12-18 14:22:42 +00:00
hxtool Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
iconv fix typo, from Ryo HAYASAKA in PR 44332. 2011-01-06 08:30:09 +00:00
id Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
indent Spell out parenthesis. From Ryo HAYASAKA in PR 44372. 2011-01-12 06:17:52 +00:00
infocmp Fix spelling, mark up NULL. Closes PR 44381 by Ryo HAYASAKA. 2011-01-14 14:21:36 +00:00
innetgr
ipcrm Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
ipcs Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
join
jot Add an example of generating a list of integers; make it the first 2011-01-05 19:59:48 +00:00
kdestroy Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
kdump format SI_QUEUE properly. 2011-01-10 05:15:17 +00:00
kgetcred Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
kinit Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
klist Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
krb5-config Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
ktrace Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
ktruss use .ORDER to avoid race 2009-12-14 05:23:39 +00:00
lam \\ -> \e 2010-04-05 21:16:21 +00:00
last Avoid SIGSEGV on out-of-range time_t. 2010-06-05 03:24:01 +00:00
lastcomm
ldd Implement dl_iterate_phdr. 2010-10-16 10:27:06 +00:00
leave
less Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
lex Conditionalize the yyinput/input() function definition the same way 2009-12-15 22:46:04 +00:00
locale Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
locate Reorder sections to canonical order. 2010-05-14 17:06:40 +00:00
lock
logger RETURN VALUES -> EXIT STATUS. 2010-05-14 16:58:32 +00:00
login don't repeat the word login twice (syslog prepends the program name login:) 2009-12-29 20:15:15 +00:00
logname
look Reorder sections to canonical order. 2010-05-14 17:06:40 +00:00
lorder
m4 Improve/fix/deuglify markup. 2010-05-14 17:14:28 +00:00
machine
mail Rename sigqueue to sigq to avoid clashing with sigqueue(2). Now this 2011-01-10 17:14:38 +00:00
make erm. fix previous... 2010-12-25 21:39:11 +00:00
man get the value of the entry for the class not the key. 2010-07-07 21:24:34 +00:00
menuc option noinput 2009-10-29 14:35:25 +00:00
mesg Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
midiplay fix wording: 2010-01-16 08:50:29 +00:00
mixerctl Resort sections to canonical order 2010-05-14 17:20:06 +00:00
mk_cmds Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
mkcsmapper option noinput nounput 2009-10-29 14:37:16 +00:00
mkdep Per PR 19359 note that mkdep doesn't handle all make metacharacters 2010-10-15 05:46:48 +00:00
mkesdb use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
mkfifo
mklocale 1. split runetype_local.h -> runetype_file.h 2010-06-13 04:14:56 +00:00
mkstr ANSIfy, sprinkle "const" in some obvious cases 2009-11-17 18:31:12 +00:00
mktemp Fix typo. 2009-08-15 20:44:56 +00:00
mkubootimage Change '-e' to optional. Use load addr(-a), if '-e' not specify. 2010-07-10 07:48:25 +00:00
moduli Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
msgc Simplify markup. 2010-05-14 17:24:38 +00:00
msgs Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
nbperf Add a check for duplicate keys. The check is run once and quadratic in 2010-03-03 01:55:04 +00:00
nbsvtool
netgroup
netstat Deal with crunch the standard way. 2010-12-15 11:22:41 +00:00
newgrp Resort sections to canonical order. 2010-05-14 17:28:23 +00:00
newsyslog Reset ziptype on each line. Failure to do this caused any log file to 2009-08-21 08:20:19 +00:00
nfsstat Remove no longer used -DNFS. 2010-03-05 19:53:37 +00:00
nice
nl
nohup Resort sections to canonical order. 2010-05-14 17:28:23 +00:00
nvi When using -lcurses, you also need -lterminfo. 2010-02-06 23:45:24 +00:00
pagesize
passwd KNF, make error messages consistent. 2010-09-08 13:58:46 +00:00
paste Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
patch Print version string to stdout instead of stderr; 2010-10-02 19:31:14 +00:00
pathchk Fix Dd argument. 2010-11-16 23:59:02 +00:00
pkill Fix SYNOPSIS; pkill accepts -l options since 3 years ago. `pattern' is 2010-12-07 09:00:23 +00:00
pmap Explicitly close quote. 2010-05-14 17:31:26 +00:00
pmc Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
pr
printenv de-__P() and ANSIfy; no functional change 2009-07-25 08:20:24 +00:00
printf \\*(Pm -> \*(Pm 2010-04-05 21:24:14 +00:00
progress Fix argument handling of the "-b" option on 64bit platforms. Using 2010-07-17 10:51:03 +00:00
pwhash Reflow to < 80 chars. 2009-10-16 08:09:12 +00:00
qsubst Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
quota
radioctl
rdist Nesting displays is not valid groff syntax. 2009-08-19 14:54:35 +00:00
renice
rev Apply some ANSI and KNF. 2009-07-21 01:25:14 +00:00
revoke Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
rfcomm_sppd Sort sections. 2010-11-03 12:21:50 +00:00
rlogin
rpcgen Add support for hyper and quad keywords. (See Sun ONC+ Developer's Guide 2009-05-06 14:30:51 +00:00
rpcinfo ANSIfy, sprinkle "const" in some obvious cases 2009-11-17 18:31:12 +00:00
rs Rename internal getline() function to get_line() so it does 2009-07-13 19:05:39 +00:00
rsh putenv() no longer accepts a const string 2010-10-02 09:24:16 +00:00
rump_allserver BUGS is gone (and on its way out it inquired about the doctor's status) 2011-01-08 09:36:26 +00:00
rump_dhcpclient New sentence, new line. 2011-01-21 09:47:00 +00:00
rump_halt Check sys_reboot() return value now that it's possible. 2011-01-22 13:43:07 +00:00
rump_server there's a manpage now ... just not here 2010-12-13 19:39:37 +00:00
rup Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
ruptime
rusers
rwall Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
rwho
script use system to parse args 2009-10-17 22:36:23 +00:00
sdiff Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
sdpquery on reflection we can use uintmax_t here instead of trying to decode 2010-12-14 15:18:20 +00:00
sed Merge the following revisions from OpenBSD to let sed(1) handle 2010-02-19 16:35:27 +00:00
seq Rerun valid_format() both before and after unescaping the format 2010-05-27 08:40:19 +00:00
shar
shlock Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
shmif_dumpbus Fix xref. 2011-01-12 19:53:12 +00:00
showmount
shuffle
skey
skeyinfo ANSIfy and sort includes 2009-09-05 06:15:24 +00:00
skeyinit Fix -Wsign-compare issue 2009-04-14 09:53:08 +00:00
sockstat support rump.sockstat 2011-01-28 18:52:48 +00:00
soelim Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
sort Sort sections. 2010-12-18 23:36:23 +00:00
spell Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
split Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
stat Do not crash if a date cannot be represented (localtime returning 2011-01-15 22:54:10 +00:00
string2key Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
su Don't free memory that was succesfully passed to putenv(3) which takes 2010-10-02 10:55:36 +00:00
systat Add per process cache values to the total name translations count. 2010-04-30 16:21:05 +00:00
tabs Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
tail
talk When using -lcurses, you also need -lterminfo. 2010-02-06 23:45:24 +00:00
tcopy
tee
telnet Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
tftp Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
tic libterminfo can now compile a single terminfo description which allows 2010-02-22 23:05:39 +00:00
time and, erm, bump date too. 2010-05-16 07:40:53 +00:00
tip fix language 2010-01-28 14:12:11 +00:00
touch remove read-write code because it's dangerous. 2009-04-28 02:47:12 +00:00
tpfmt - pass lint 2010-11-24 13:17:56 +00:00
tput Fix trailing whitespace 2010-05-14 01:58:07 +00:00
tr Do not use \." for comments, always use .\". Discussed with uwe@. 2009-11-12 00:43:52 +00:00
true
tset Fix typo in date. 2010-11-02 12:10:13 +00:00
tsort Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
tty
ul Userland now builds and uses terminfo instead of termcap. 2010-02-03 15:34:37 +00:00
uname
unexpand Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
unifdef - Fix an incorrect comparison (always true) 2011-01-20 15:24:24 +00:00
uniq Sync usage with man page. 2010-10-06 07:59:18 +00:00
units Appease -Wcast-qual with a liberal sprinkling of const. 2009-04-14 05:55:12 +00:00
unvis Make SYNOPSIS match usage. 2010-11-28 01:33:37 +00:00
unzip Kill a left-over break from the for-loop that vanished in 1.13. 2010-05-10 15:45:22 +00:00
usbhidaction Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
usbhidctl fix sign-compare issues 2009-04-14 06:14:10 +00:00
users
utoppya fix sign-compare issues 2009-04-14 06:14:10 +00:00
uudecode Fix -Wcast-qual issue 2009-04-14 06:16:59 +00:00
uuencode
uuidgen Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
vacation s/the the/the/ 2009-12-08 09:46:01 +00:00
verify_krb5_conf Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
vgrind Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
videoctl New sentence, new line. 2010-12-26 14:26:45 +00:00
vis
vmstat Defer nlist processing until we know we need to it. If everything can be 2011-01-29 18:10:08 +00:00
vndcompress Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
w Fix -Wcast-qual issue 2009-04-14 07:41:36 +00:00
wall Fix WARNS=4 issues (-Wcast-qual -Wsign-compare) 2009-04-14 07:54:51 +00:00
wc Report the number of characters, not the number of bytes in the 2010-02-19 11:15:23 +00:00
what
whatis
whereis No trailing whitespace 2010-04-05 16:13:58 +00:00
who PR/41313: Chris Spiegel: getutentries() in src/usr.bin/who/utmpentry.c thinks 2009-05-01 14:26:10 +00:00
whois Punctuation. 2009-05-04 21:13:58 +00:00
window \\ -> \e 2010-04-23 22:04:37 +00:00
write fix sign-compare issue 2009-04-14 07:59:17 +00:00
xargs Talk more about NetBSD and less about FreeBSD. Sort sections. 2010-12-22 09:05:07 +00:00
xinstall Reorder sections to canonical order. Use .Ex -std. 2010-05-14 17:03:19 +00:00
xlint Change mips64 to use a 16 byte long double. 2011-01-18 08:30:10 +00:00
xstr ANSIfy, sprinkle "const" in some obvious cases 2009-11-17 18:31:12 +00:00
yacc no braaaains for you! 2010-05-30 00:45:03 +00:00
yes Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00
ypcat Sort options in SYNOPSIS. 2011-01-12 19:55:06 +00:00
ypmatch Sync usage with man page. 2009-06-21 14:59:53 +00:00
ypwhich Sync usage with man page. 2009-06-21 15:04:56 +00:00
Makefile Add a simple dhcp client for rump kernels. It uses code from dhcpcd 2011-01-20 18:47:19 +00:00
Makefile.inc Enable WARNS=4 by default for usr.bin, except for: 2009-04-14 22:15:16 +00:00