NetBSD/usr.sbin
apb f950d3cf71 The number of active vnodes may grow in between the sysctl call
that figures out the size, and the sysctl call that fetches the data.

Previously, any growth at all would have resulted in this error message:

        pstat: sysctl: KERN_VNODE: Cannot allocate memory

Now allow for growth of 100 vnodes, or 5%, or both.  Growth in
excess of 2% or 6000 vnodes has been observed in practice.  Also
ignore ENOMEM from the second sysctl call, in case the growth was
even more than we anticipated.
2012-11-10 11:01:52 +00:00
..
ac cgd and sjg relicensed this under 2-clause-BSD. 2012-08-31 19:55:23 +00:00
accton Use __dead. 2011-08-29 20:38:53 +00:00
acpitools Use __dead. 2011-08-29 20:38:53 +00:00
altq Use __dead. 2011-08-29 20:38:53 +00:00
apm Remove unnecessary Bk/Ek pairs from SYNOPSIS. 2012-04-08 22:00:37 +00:00
apmd Remove unnecessary Bk/Ek pairs from SYNOPSIS. 2012-04-08 22:00:37 +00:00
arp New sentence, new line. Remove trailing whitespace. 2011-04-25 22:20:29 +00:00
bad144 static + __dead 2011-11-25 13:13:33 +00:00
bootp Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
btattach Mark types as static and usage as dead. 2011-08-27 22:17:53 +00:00
btconfig Use Lk macro when dealing with URLs. While here update or remove some 2012-03-15 22:35:02 +00:00
btdevctl static + __dead 2011-08-27 22:22:01 +00:00
bthcid static + __dead 2011-08-27 22:22:01 +00:00
btpand no trailing comma on enum 2012-10-14 08:35:45 +00:00
catman make len unsigned; -1 will turn into a large number, failing the test. 2011-12-24 23:46:11 +00:00
chroot - don't use an uninitialized grouplist (from Patrick Welche) 2011-09-20 14:28:52 +00:00
cnwctl
cpuctl avoid dummy structure definition, include a system header instead, 2012-10-17 20:22:15 +00:00
crash Add references to ${_NETBSD_VERSION_DEPENDS} for files that 2012-11-04 11:12:31 +00:00
dev_mkdb Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
dhcp Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
diskpart ANSIfy + static + dead. 2011-08-30 10:12:06 +00:00
dumpfs use getfsspecname() 2012-04-07 04:52:20 +00:00
dumplfs Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
edquota Grr. The ATF quota tests demand failing silently in certain circumstances. 2012-08-14 04:53:43 +00:00
eeprom build eeprom on shark 2011-12-15 07:51:29 +00:00
envstat Fix alignment display for temperature, fans and integer units. 2012-05-11 18:41:12 +00:00
eshconfig ANSIfy + static + __dead 2011-08-30 18:28:59 +00:00
etcupdate Remove the ability to specify multiple colon-separated file names with 2012-08-15 16:26:41 +00:00
extattrctl Use __dead 2011-08-31 13:32:36 +00:00
faithd Use Lk macro when dealing with URLs. While here update or remove some 2012-03-15 22:35:02 +00:00
flashctl Properly use format strings 2011-05-24 13:01:53 +00:00
fssconfig include the headers you need 2012-11-04 22:21:11 +00:00
fusermount
fwctl Revieve -> Receive in a comment. 2011-10-17 16:50:47 +00:00
gpioctl Fix a "lonely name". 2011-11-13 14:39:42 +00:00
grfconfig Fix fd leaks in error cases. Found by cppcheck. 2011-01-04 09:32:31 +00:00
gspa Use __dead and __printflike 2011-08-30 18:53:41 +00:00
hdaudioctl * Remove spurious period in name section 2012-06-23 20:49:14 +00:00
i2cscan Add missing period at end of sentence. 2012-02-04 18:25:53 +00:00
ifmcstat Ensure entire sockaddr_dl is obtained. May not have 2012-10-26 16:52:52 +00:00
ifwatchd static + __dead 2011-08-30 18:57:38 +00:00
inetd include <netipsec/ipsec.h> rather than <netinet6/ipsec.h> from userland 2012-01-04 16:09:40 +00:00
installboot Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
iopctl static + __dead 2011-08-30 18:57:38 +00:00
iostat static + __dead 2011-08-30 19:06:06 +00:00
ipwctl Use Lk macro when dealing with URLs. While here update or remove some 2012-03-15 22:35:02 +00:00
irdaattach static + __dead 2011-08-30 19:06:06 +00:00
isdn Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
isibootd Change Ethertype 0x80df symbolic name. According to the real 2012-04-02 09:01:30 +00:00
iteconfig
iwictl
kgmon Add option arguments to descriptions. From YOMURA Masanori. 2011-04-25 22:46:35 +00:00
kvm_mkdb Fix fd leaks in error cases. Found by cppcheck. 2011-01-04 09:32:31 +00:00
lastlogin __dead + ANSIfy 2011-08-31 13:31:29 +00:00
ldpd Add __printflike attribution to use vprintf and friends with an argument 2012-03-15 02:02:20 +00:00
link ANSIfy + __dead 2011-08-30 19:18:17 +00:00
lmcconfig Use Lk macro when dealing with URLs. While here update or remove some 2012-03-15 22:35:02 +00:00
lockstat static + __dead 2011-08-30 19:20:20 +00:00
lpr PR/46500 - Henning Petersen -- wrong permissions on create .seq files 2012-06-02 03:32:53 +00:00
lptctl
mailwrapper
makefs Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
makemandb If you cannot parse .SH NAME, like in the case of the ksh93 man page 2012-11-08 19:17:54 +00:00
map-mbone
mdconfig
mdsetimage
memswitch Whitespace. 2011-01-14 13:31:47 +00:00
mld6query static + __dead 2011-08-30 21:18:11 +00:00
mlxctl avoid type punned warnings 2011-08-14 17:57:44 +00:00
mmcformat
mopd Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
mountd Dots as macro arguments need quoting. 2012-08-26 14:50:45 +00:00
moused don't truncate time_t 2011-08-31 16:32:48 +00:00
mrinfo Use __dead 2011-08-31 13:32:36 +00:00
mrouted NULL does not need a cast 2011-08-31 16:24:54 +00:00
mscdlabel Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
mtrace Use __dead 2011-08-31 13:32:36 +00:00
mtree disable encoding of globbing characters for now. 2012-10-07 18:40:49 +00:00
ndbootd Default to -Wno-sign-compare -Wno-pointer-sign for clang. 2011-05-26 12:56:24 +00:00
ndiscvt Use __dead 2011-11-25 13:18:22 +00:00
ndp Use __dead 2011-08-31 13:32:36 +00:00
netgroup_mkdb
nfsd Fix memset usage. 2012-08-15 00:16:06 +00:00
npf npfctl: switch to efun(3) routines. 2012-11-05 23:47:12 +00:00
ofctl
paxctl security(7), not (8). 2011-04-28 11:57:08 +00:00
pcictl static + __dead 2011-08-30 20:08:38 +00:00
perfused Disable default build of debugging info. 2012-09-06 16:39:07 +00:00
pf does not need -I${NETBSDSRCDIR}/sys/dist/ipf here, the include files 2012-09-15 17:46:25 +00:00
postinstall Make sure that the "to fix, run: ..." instructions actually work cut-and-paste 2012-09-22 09:20:06 +00:00
powerd Minor grammar fix, from Bug Hunting in PR 47159. 2012-11-06 19:08:45 +00:00
pppd Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
psrset Use __dead 2011-08-31 13:32:36 +00:00
pstat The number of active vnodes may grow in between the sysctl call 2012-11-10 11:01:52 +00:00
puffs add the headers you need 2012-11-04 22:47:21 +00:00
pvcsif static + __dead 2011-08-30 21:27:00 +00:00
pvctxctl Localize variables. Use __dead 2011-08-30 21:28:27 +00:00
pwd_mkdb NULL does not need a cast 2011-08-31 16:24:54 +00:00
quot KNF 2011-03-06 23:41:47 +00:00
quotacheck use getfsspecname() 2012-04-07 04:52:20 +00:00
quotaon use getfsspecname() 2012-04-07 04:52:20 +00:00
quotarestore Don't use const foo const as type, one const is enough. 2012-09-13 21:44:49 +00:00
racoon MKCRYPTO_IDEA is no more 2012-07-14 04:03:44 +00:00
racoonctl Ignore warnings when building with clang for now. 2011-05-30 14:41:26 +00:00
rarpd Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
rbootd Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
rdate
repquota Bump date for previous. 2012-05-12 21:42:38 +00:00
rip6query ANSIfy + static + __dead 2011-08-30 21:17:06 +00:00
rmt
route6d Remove unnecessary Bk/Ek pairs from SYNOPSIS. 2012-04-08 22:00:37 +00:00
rpc.bootparamd ANSIFy + static + __dead 2011-08-30 20:29:41 +00:00
rpc.lockd Fix typo in syslog message. 2012-09-13 11:09:41 +00:00
rpc.pcnfsd include the headers that you need. 2012-11-04 22:26:04 +00:00
rpc.statd
rpc.yppasswdd NULL does not need a cast 2011-08-31 16:24:54 +00:00
rpcbind NULL does not need a cast 2011-08-31 16:24:54 +00:00
rtadvd Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
rtsold Fix typo in comment. 2011-10-17 16:31:14 +00:00
rwhod include <pwd.h> 2012-11-04 22:32:01 +00:00
sa
schedctl Use __dead 2011-08-31 13:32:36 +00:00
screenblank static + __dead 2011-08-30 20:33:30 +00:00
sdpd Use Lk macro when dealing with URLs. While here update or remove some 2012-03-15 22:35:02 +00:00
services_mkdb Use __dead 2011-08-31 13:32:36 +00:00
sesd Fix fd leak in error case. Found by cppcheck. 2011-01-04 10:10:39 +00:00
sliplogin static + ANSIfy + __dead 2011-08-30 20:42:22 +00:00
spray static + ANSIfy + __dead 2011-08-30 20:45:31 +00:00
srtconfig
sti Improve DESCRIPTION, fix up English usage. 2012-08-14 08:08:29 +00:00
sunlabel
sup "errs" might be clobbered by longjmp, so declare it volatile. 2012-04-25 22:35:00 +00:00
syslogd Remove trailing whitespace. 2012-10-30 23:03:02 +00:00
tadpolectl
tcpdchk Use a little const for quotes strings. 2012-03-21 10:11:34 +00:00
tcpdmatch
tcpdrop
timed include utmpx.h if needed 2012-11-04 22:36:58 +00:00
tpctl Remove unnecessary Bk/Ek pairs from SYNOPSIS. 2012-04-08 22:00:37 +00:00
tprof Use __dead 2012-01-10 23:39:11 +00:00
traceroute Pretty print multipath routes. From FreeBSD. 2012-08-16 00:40:28 +00:00
traceroute6 include <netipsec/ipsec.h> rather than <netinet6/ipsec.h> from userland 2012-01-04 16:09:40 +00:00
trpt static + __dead 2011-08-30 20:49:29 +00:00
unlink ANSIfy + __dead 2011-08-30 20:50:24 +00:00
usbdevs static + __dead 2011-08-30 20:51:29 +00:00
user Move path names to pathnames.h per conventions 2011-12-01 00:34:05 +00:00
veriexecgen security(7), not (8). 2011-04-28 11:23:57 +00:00
videomode Fix fd leaks. Found by cppcheck. 2011-01-04 10:32:34 +00:00
vipw Remove unnecessary Bk/Ek pairs from SYNOPSIS. 2012-04-08 22:00:37 +00:00
vnconfig From Bug Hunting: Add vndcompress(1) to SEE ALSO, bump date. 2012-07-08 22:49:55 +00:00
wakeonlan Rename wake(8) to wakeonlan(8). Approved by core@. 2012-05-26 01:58:17 +00:00
wiconfig Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply 2012-08-10 12:10:27 +00:00
wlanctl Use __dead 2011-08-31 13:32:36 +00:00
wsconscfg
wsfontload Use __dead 2011-08-31 13:32:36 +00:00
wsmoused Use more markup. New sentence, new line. Sort sections. 2012-01-02 18:04:34 +00:00
wsmuxctl static + __dead 2011-08-30 21:03:31 +00:00
ypbind Apply casts to cases where xdrproc_t is expected but is not 2011-08-30 17:06:20 +00:00
yppoll Apply casts to cases where xdrproc_t is expected but is not 2011-08-30 17:06:20 +00:00
ypserv Remove unnecessary Bk/Ek pairs from SYNOPSIS. 2012-04-08 22:00:37 +00:00
ypset ANSIfy 2011-08-27 22:41:35 +00:00
zdump - no need for gcc-4.5 hacks 2011-08-16 07:52:32 +00:00
zic Make warnings non fatal for older gcc versions - I couldn't figure out how to 2012-10-25 15:14:36 +00:00
Makefile exclude programs for MKRUMP = no 2012-08-08 14:13:46 +00:00
Makefile.inc