HardenedBSD/sbin
John Polstra 614d19ca10 Fix calls to mmap. It returns void *, and on failure it returns
MAP_FAILED.

Don't try to extend the mapping in place if it is too short.
There's no guarantee it will be possible.  Remap the file instead.

Put in a few style fixes.

Submitted by:	Bruce Evans <bde>
1998-09-06 20:43:25 +00:00
..
adjkerntz
badsect
bsdlabel
ccdconfig
clri
comcontrol
cxconfig
disklabel
dmesg
dset
dump
dumpfs
dumpon
fdisk
fsck
fsck_ffs
fsck_ifs
fsdb
fsirand
i386
ifconfig
init
ipf
ipfstat
ipfw
ipmon
ipnat
kldload
kldstat
kldunload
ldconfig Fix calls to mmap. It returns void *, and on failure it returns 1998-09-06 20:43:25 +00:00
md5
mknod
modload
modunload
mount
mount_cd9660
mount_ext2fs
mount_ifs
mount_msdos
mount_msdosfs
mount_nfs
mount_null
mount_nullfs
mount_portal
mount_portalfs
mount_std
mount_umap
mount_umapfs
mount_union
mount_unionfs
mountd
natd
newfs
newfs_msdos
nextboot
nfsd
nfsiod
nologin
nos-tun
ping Disable gcc's builtin memcpy for alpha since it doesn't cope with unaligned 1998-09-05 15:11:47 +00:00
quotacheck
reboot
restore
route
routed
savecore
scsi
scsiformat
shutdown
slattach
spppcontrol
startslip
swapon
sysctl
tunefs
umount
Makefile
Makefile.inc