NetBSD/usr.sbin
kre fbb3329fd3 Divide GIG by 512 (DEV_BLKSIZE) so we don't overflow 32 bit u_long
when multiplying by 128 (in 32 bits, 128 * GIG == 0)

Should fix i386 build )and other 32 bit ports).

An alternative would be to use ULL rather than UL for the numbers,
but that would mean needlessly doing 64 bit arith for data that is
resticted to 32 bit results anyway.
2018-11-28 00:44:08 +00:00
..
ac Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
accton
acpitools & promotes to int already, so clang warns about the hh modifier. 2018-11-11 00:24:01 +00:00
altq Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
apm
apmd
arp arp(8): Fix the host output when arp -dav. 2018-07-31 09:45:52 +00:00
autofs .Li is superfluous inside .Bd -literal 2018-01-25 19:15:10 +00:00
bad144 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
bootp Typos. 2018-02-08 09:05:16 +00:00
bta2dpd Avoid potential undefined behavior in bta2dpd(8) 2018-07-25 19:03:50 +00:00
btattach Fix copyright error. 2017-09-03 22:54:12 +00:00
btconfig for Read_Local_Version, print also the HCI revision 2017-12-21 09:31:22 +00:00
btdevctl Fix fallout from hid factorisation: 2017-12-10 20:38:13 +00:00
bthcid Add width arguments to tagget lists. 2017-12-21 12:25:03 +00:00
btpand
catman
chroot
cnwctl
cpuctl Add ThunderX IDs 2018-11-26 18:08:41 +00:00
crash make kernel-groveling crash(8) work on aarch64 2018-09-15 19:47:48 +00:00
dev_mkdb Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
diskpart
dumpfs print quota pointers in superblock 2018-03-06 07:45:38 +00:00
dumplfs PR/53367: Thomas Barabosch: Integer overflow in usr.sbin/dumplfs 2018-06-15 15:16:05 +00:00
edquota
eeprom Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
envstat Add support for light sensors that report Illuminance in lux. 2018-05-27 01:39:00 +00:00
eshconfig
etcupdate A few hints that sets may come in .tar.xz format (instead of .tgz) 2018-11-21 20:18:11 +00:00
extattrctl
faithd More K&R style prototypes missed in the previous run 2018-01-23 21:27:20 +00:00
flashctl
fssconfig Use stat() information to decide if the backing store is a directory. 2017-12-21 15:52:19 +00:00
fstyp merge a new version of the CDDL dtrace and ZFS code. 2018-05-28 21:04:59 +00:00
fusermount
fwctl
gpioctl add __RCSID 2018-10-19 22:51:13 +00:00
grfconfig Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
gspa
hdaudioctl
i2cscan
ifmcstat Remove mkludge stuffs 2017-02-23 07:57:09 +00:00
ifwatchd Remove the userland part of ISDN. The kernel part is untouched for now. 2018-09-23 07:24:19 +00:00
inetd ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
installboot Fix integer overflow in installboot(8) 2018-06-23 14:15:57 +00:00
intrctl fix intrctl_io_firstline() to properly return NULL if there are no records 2018-06-23 11:11:00 +00:00
iopctl
iostat Fix mandoc warnings. 2018-07-29 21:17:43 +00:00
ip6addrctl
ipwctl
irdaattach New sentence, new line. 2017-10-23 01:07:27 +00:00
isibootd
iteconfig ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
iwictl
kgmon for 64 bit mips platforms where we built userland largely as n32 by 2016-12-23 10:19:57 +00:00
kvm_mkdb ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
lastlogin
ldpd Use RO_MSGFILTER. 2017-04-12 17:02:51 +00:00
link Use Ex. 2017-07-04 07:08:42 +00:00
lmcconfig drop main() prototype 2018-01-23 22:12:52 +00:00
lockstat Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
lpr use SUBDIR.roff suggested by uwe@ 2018-06-10 17:55:11 +00:00
lptctl Use Ex. 2017-07-04 07:08:42 +00:00
mailwrapper ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
makefs Rename min/max -> uimin/uimax for better honesty. 2018-09-03 16:29:22 +00:00
makemandb Adjust makemandb for the latest mandoc 2018-08-24 16:01:57 +00:00
map-mbone fixes for GCC 6.4: 2018-02-04 09:01:12 +00:00
mdconfig ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
mdsetimage Need <stdint.h> for uintmax_t. 2016-12-18 18:32:24 +00:00
memswitch make this build again. 2018-01-26 09:38:26 +00:00
mld6query Use Ex. 2017-07-04 07:08:42 +00:00
mlxctl s/LIButil/LIBUTIL/ in DPADD 2016-12-10 13:55:55 +00:00
mmcformat
mopd
mountd Merge autofs support from: Tomohiro Kusumi 2018-01-09 03:31:12 +00:00
moused
mrinfo Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
mrouted Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
mscdlabel ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
mtrace
mtree Adjust test, we only want to return the structure member if the result is not NULL. 2018-11-18 23:03:36 +00:00
ndbootd
ndp Use s6, not mysin. 2018-07-12 08:20:49 +00:00
netgroup_mkdb
nfsd
npf NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
ofctl Sort options in usage. 2018-05-28 12:42:45 +00:00
paxctl New sentence, new line. 2016-11-08 08:21:52 +00:00
pcictl
perfused remove dup function 2016-10-19 01:31:05 +00:00
pf Enable carp packets early during boot, to avoid gratuitous failovers. 2017-05-26 15:40:27 +00:00
postinstall Sprinkle a few references to .tar.xz files (as alternative to .tgz files) 2018-11-21 20:13:09 +00:00
powerd Fix spelling of "occurs". 2017-02-21 15:15:19 +00:00
psrset
pstat Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
puffs Remove MKCRYPTO option. 2017-05-21 15:28:36 +00:00
pwd_mkdb Drop main() prototype. 2017-05-04 16:26:09 +00:00
quot
quotacheck
quotaon
quotarestore
racoon add commented out debugging options. 2018-04-01 23:00:40 +00:00
racoonctl
rarpd Adapt to ar_tha() changes in if_arp.h rev1.31. 2018-02-13 10:17:04 +00:00
rbootd ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
rdate New sentence, new line. Remove superfluous Pp. 2017-08-27 20:45:47 +00:00
repquota Add quotadump to the NAME section 2017-10-22 18:00:45 +00:00
rip6query
rmt ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
route6d PR/53365: Thomas Barabosch: memory leak in route6d 2018-06-14 16:17:18 +00:00
rpc.bootparamd
rpc.lockd ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
rpc.pcnfsd More K&R style prototypes missed in the previous run 2018-01-23 21:27:20 +00:00
rpc.statd ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
rpc.yppasswdd Drop main() prototype. 2017-05-04 16:26:09 +00:00
rpcbind don't lock for RUMP 2017-08-21 17:01:04 +00:00
rtadvd rtadvd: use %u to print unsigned variables 2018-11-16 08:57:10 +00:00
rtsold Add rtsol to the NAME section as well 2017-10-22 18:09:33 +00:00
rwhod sysctl(KERN_BOPOTIME) started returning a struct timespec in 2009. 2018-10-30 21:15:09 +00:00
sa Add EXIT STATUS section. Use Ex. 2017-07-04 07:12:18 +00:00
schedctl
screenblank
sdpd fix width of list 2017-12-21 08:59:58 +00:00
service Only match first instance of name and rcvar in file. 2017-06-05 09:20:05 +00:00
services_mkdb need <sys/stat.h> 2017-01-10 21:04:06 +00:00
sesd ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
sliplogin Sort sections. New sentence, new line. 2018-11-14 18:28:18 +00:00
spray
srtconfig Drop main() prototype. 2017-05-04 16:26:09 +00:00
sti
sunlabel Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
sup Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
sysinst Divide GIG by 512 (DEV_BLKSIZE) so we don't overflow 32 bit u_long 2018-11-28 00:44:08 +00:00
syslogd Revert previous - local merge mishap 2018-11-05 10:27:06 +00:00
tadpolectl Ansify 2018-01-23 19:01:33 +00:00
tcpdchk ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
tcpdmatch ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
tcpdrop
timed use SUBDIR.roff suggested by uwe@ 2018-06-10 17:55:11 +00:00
tpctl cast through intptr_t 2018-07-16 01:04:47 +00:00
tprof tprof: Add goldmont plus support. Tested by msaitoh@n.o, thanks. 2018-11-26 23:20:56 +00:00
traceroute Fix build failure, the structure is already defined now. 2018-01-19 14:30:09 +00:00
traceroute6 Clean up the IPsec ifdefs, same as ping6. 2018-04-23 18:59:03 +00:00
trpt Remove now unused tcpip.h includes. Some were already unused before. 2018-05-03 07:13:48 +00:00
unlink Use Ex. 2017-07-04 07:13:18 +00:00
usbdevs Print USB_SPEED_SUPER_PLUS capability if present 2018-07-05 19:46:58 +00:00
user Set default homeperm values before writing usermgmt.conf file and honor values in it instead of ignoring it. 2018-06-10 07:52:05 +00:00
veriexecgen Fix enumeration. 2017-09-10 10:13:47 +00:00
videomode ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
vipw
vnconfig Sort options. 2018-10-07 20:30:50 +00:00
wakeonlan End sentence with a dot. 2018-05-14 06:52:33 +00:00
wiconfig
wlanctl Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
wsconscfg Drop main() prototype. 2017-05-04 16:26:09 +00:00
wsfontload - don't use embedded font name if -N is given 2017-06-23 18:40:03 +00:00
wsmoused Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
wsmuxctl
ypbind Initialize ypbind_resp before first possible error return condition. 2018-03-15 02:25:31 +00:00
yppoll
ypserv New sentence, new line. Use An/Mt. 2018-09-25 09:53:40 +00:00
ypset
zdump we keep version in a separate file now 2016-10-20 17:39:08 +00:00
zic don't try to run a non-existing nbcat 2017-01-06 17:25:32 +00:00
Makefile Remove the userland part of ISDN. The kernel part is untouched for now. 2018-09-23 07:24:19 +00:00
Makefile.inc