freebsd-skq/sbin
Warner Losh 335524b9ad Various security related deltas from OpenBSD
dirs.c:
	From OpenBSD 1.2, 1.3, 1.5, 1.8, 1.10, 1.11, 1.12
	1.2:
		use unique temporary files; netbsd pr#2544;
		lukem@supp.cpr.itg.telecom.com.au
	1.3:
		updated patch from lukem@supp.cpr.itg.telecom.com.au
		to also make -r and -R work again
	1.5:
		mktemp open & fdopen
	1.8:
		/tmp// -> /tmp/
	1.10:
		Fix strncpy usage and correct strncat length field,
		from Theo.  Also change some occurrence of MAXPATHLEN
		with sizeof(foo).
	1.11:
		does noone know how to use strncat correctly?
	1.12:
		use mkstemp()
	From NetBSD:
		Use open rather than create so we can specify
		exclusive open mode.

main.c:
	From OpenBSD 1.2, 1.5
	1.2:
		From NetBSD: support $TAPE.
	1.5
		Set umask to be read only by owner until we set real
		file permissions.
tape.c:
	From NetBSD:
		Use open rather than create so we can specify
		exclusive open mode.
1997-01-01 00:03:49 +00:00
..
adjkerntz English corrections from jdp. 1996-04-09 11:31:34 +00:00
badsect Eliminated includes of the "temporary" backwards compatibility header 1996-09-24 08:08:11 +00:00
bsdlabel Moved initialization of defaults for the label for the whole disk from 1996-06-17 14:43:54 +00:00
ccdconfig .Os NetBSD -> .Os FreeBSD. 1996-09-28 22:46:35 +00:00
clri removed xref to icheck(8), ncheck(8) as they don't exist 1996-04-11 07:49:34 +00:00
comcontrol Minor formatting/style fixes. 1996-12-09 08:04:55 +00:00
cxconfig Convert to mdoc format. 1996-12-23 01:04:46 +00:00
disklabel Moved initialization of defaults for the label for the whole disk from 1996-06-17 14:43:54 +00:00
dmesg Who would have though that dmesg didn't understand message buffers? 1996-09-21 08:11:22 +00:00
dset Back out my -k changes; there's a better way to do this in the short-term. 1996-10-02 07:22:26 +00:00
dump Backing out my change of /etc/rmt -> /usr/sbin/rmt. 1996-12-29 11:48:45 +00:00
dumpfs dumpfs blindly trusts that it has been handed a filesystem. 1996-10-21 19:40:01 +00:00
dumplfs comma typos 1996-12-23 23:09:55 +00:00
dumpon Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
fdisk This update adds the support for != 512 byte sector SCSI devices to 1996-12-01 11:25:38 +00:00
fsck Submitted by: Archie@whistle.com 1996-11-13 02:01:36 +00:00
fsck_ffs Submitted by: Archie@whistle.com 1996-11-13 02:01:36 +00:00
fsck_ifs Submitted by: Archie@whistle.com 1996-11-13 02:01:36 +00:00
fsdb Get rid of useless -f flag (though left for historical reasons). 1996-09-30 20:04:24 +00:00
i386 Minor mdoc/style fixes. 1996-12-23 02:03:15 +00:00
ifconfig Fix up programs which expect <net/if.h> to include <sys/time.h> to instead 1996-12-10 17:11:53 +00:00
init If passed the -d flag, mount devfs on /dev 1996-10-28 11:03:19 +00:00
ipfw Minor mdoc/style fixes. 1996-12-23 02:03:15 +00:00
ldconfig Document that "ldconfig -m" rescans all directories previously 1996-11-09 20:26:19 +00:00
md5 Moved #include of <sys/types.h> earlier so that this compiles when 1996-10-25 06:48:29 +00:00
mknod Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
modload Improve the format of the usage string output. 1996-12-09 08:10:45 +00:00
modunload Improve the format of the usage string output. 1996-12-09 08:10:45 +00:00
mount Add mount_msdos(8) reference 1996-11-10 02:21:05 +00:00
mount_cd9660 Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mount_ext2fs Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
mount_ifs Add mount_msdos(8) reference 1996-11-10 02:21:05 +00:00
mount_lfs Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
mount_msdos Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
mount_msdosfs Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
mount_nfs Mention the historic mount options, as `deprecated'. 1996-10-22 21:56:58 +00:00
mount_null delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
mount_nullfs delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
mount_portal Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
mount_portalfs Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
mount_std comma typos 1996-12-23 23:09:55 +00:00
mount_umap Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
mount_umapfs Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
mount_union Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
mount_unionfs Don't use __dead or __pure in user code. They were obfuscations 1996-09-14 03:00:32 +00:00
mountd Add one line fix to stop my old 'don't barf if you see the same 1996-08-29 14:20:57 +00:00
newfs Add example for mount_mfs(8). 1996-12-26 02:01:09 +00:00
newlfs ts_sec -> tv_sec 1996-09-20 04:24:31 +00:00
nextboot Minor formatting/style fixes. 1996-12-09 08:04:55 +00:00
nfsd Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
nfsiod Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
nologin Now that we have a manpage, don't have the 'clean' target be a NO-OP. 1996-07-10 18:36:41 +00:00
ping Add multicast options -I (source interface), -T (set ttl), -L (no loopback). 1996-12-15 23:41:29 +00:00
quotacheck Don't give up just because we cant find the blkdev that corresponds 1996-10-27 18:28:39 +00:00
reboot Add support to halt, to allow it to request that the power be turned off 1996-08-24 01:40:02 +00:00
restore Various security related deltas from OpenBSD 1997-01-01 00:03:49 +00:00
route Fix up programs which expect <net/if.h> to include <sys/time.h> to instead 1996-12-10 17:11:53 +00:00
routed FIx coredump with rtquery. 1996-12-21 05:55:55 +00:00
savecore Fix my yesterday's brain-o: don't account for the kilobytes twice. 1996-10-14 22:56:01 +00:00
scsi When MODE SELECT'ing, the ``device-specific parameter'' field is 1996-10-05 17:40:20 +00:00
scsiformat fix usage string 1996-11-04 00:53:12 +00:00
shutdown Delete bogus referneces to timezone code internal header file `tzfile.h', 1995-08-07 19:17:46 +00:00
slattach Fix if.h lossage. I could have sworn I already fixed this one. 1996-12-10 21:25:42 +00:00
startslip Fix up programs which expect <net/if.h> to include <sys/time.h> to instead 1996-12-10 17:11:53 +00:00
swapon add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
sysctl Removed references to pathconf-related variables that were never handled 1996-09-28 14:43:03 +00:00
tunefs Correct some man page cross references and some file 1996-02-05 17:32:16 +00:00
umount Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
Makefile Disable rdisc, enable routed in new location. 1996-09-16 17:08:23 +00:00
Makefile.inc Split CRYPTOBJDIR -> SCRYPTOBJDIR/DESCRYPTOBJDIR for init(8) 1996-05-04 08:11:47 +00:00