NetBSD/sbin
tls 7b0b7dedd9 Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code
   to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
   source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
   avoid expensive operations on disabled entropy sources; make the
   rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
   have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
   system events, and skew between clocks, with a sample implementation
   for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files).  Tested with release
builds on amd64 and evbarm and live testing on amd64.
2012-02-02 19:42:57 +00:00
..
amrctl staticfy. Use __dead. 2011-08-27 16:05:27 +00:00
apmlabel staticfy. Use __nodead 2011-08-27 16:10:51 +00:00
atactl Constify structure pointed to by getataparams() return value. 2011-10-31 15:26:11 +00:00
badsect
bioctl Use __dead 2011-08-29 14:34:58 +00:00
brconfig static + __dead 2011-08-29 14:29:21 +00:00
ccdconfig static. __dead. 2011-08-27 16:29:51 +00:00
cgdconfig Use __dead 2011-08-29 14:34:58 +00:00
chkconfig
chown Use __dead 2011-08-29 14:34:58 +00:00
clri
devpubd exit 0 on success 2011-12-04 13:01:54 +00:00
disklabel Add getlabelusesmbr(), as proposed in 2011-08-30 12:39:49 +00:00
dkctl staticfy. __dead. 2011-08-27 16:34:38 +00:00
dkscan_bsdlabel Mark usage as static and dead. 2011-08-27 16:43:07 +00:00
dmctl static. dead. 2011-08-27 17:07:28 +00:00
dmesg Use __dead 2011-08-29 14:34:58 +00:00
drvctl Add -n to usage. 2012-01-17 08:22:09 +00:00
dump NULL does not need a cast, here 2011-09-16 16:13:16 +00:00
dump_lfs use a union to eliminate strict alias warnings. 2011-08-14 12:13:24 +00:00
fastboot
fdisk Remove trailing whitespace. 2012-01-04 10:57:40 +00:00
fsck use getfstypename 2011-11-13 22:04:51 +00:00
fsck_ext2fs NULL does not need a cast, here 2011-09-16 16:13:16 +00:00
fsck_ffs use FS_UFS[12]_MAGIC_SWAPPED instead of bswap32(FS_UFS[12]_MAGIC). 2012-01-29 00:58:13 +00:00
fsck_lfs Correct fragment extension calculation in pass6, to avoid putting 2012-01-05 16:18:00 +00:00
fsck_msdos fix compilation. 2011-06-09 21:23:29 +00:00
fsck_v7fs fix freeblock counting 2011-07-17 12:47:38 +00:00
fsdb Use __dead 2011-08-29 14:34:58 +00:00
fsirand static + __dead 2011-08-27 17:36:05 +00:00
gpt Add an EXAMPLE section showing how to add a swap file system using gpt. Bump date. 2011-11-11 13:26:45 +00:00
ifconfig When ifconfig is invoked without any arguments, display the list of 2012-01-28 15:01:44 +00:00
init make it compile with SMALLPROG 2011-08-28 10:13:03 +00:00
iscsictl give the correct count of arguments to the sub-functions 2011-11-20 01:14:17 +00:00
iscsid Fix title and xrefs. 2011-11-21 08:23:20 +00:00
ldconfig Fix file descriptor leak. Found by cppcheck. 2011-01-04 23:31:29 +00:00
mbrlabel Be more static. 2011-08-27 17:45:30 +00:00
mknod static + __dead 2011-08-27 18:37:41 +00:00
modload Quote path separator character. 2011-08-06 08:43:28 +00:00
modstat Accept both 'modstat -n name' as well as 'modstat name' to display information 2011-08-02 16:46:45 +00:00
modunload Fix xref; module(4) -> module(7). 2010-12-14 16:23:59 +00:00
mount Use __dead 2011-08-29 14:34:58 +00:00
mount_ados Use __dead 2011-08-29 14:34:58 +00:00
mount_cd9660 Use __dead 2011-08-29 14:34:58 +00:00
mount_chfs add known bugs 2011-11-29 13:27:50 +00:00
mount_efs Use __dead 2011-08-29 14:34:58 +00:00
mount_ext2fs Use __dead 2011-08-29 14:34:58 +00:00
mount_fdesc Use __dead 2011-08-29 14:34:58 +00:00
mount_ffs Use __dead 2011-08-29 14:34:58 +00:00
mount_filecore Use __dead 2011-08-29 14:34:58 +00:00
mount_hfs Use __dead 2011-08-29 14:34:58 +00:00
mount_kernfs Use __dead 2011-08-29 14:34:58 +00:00
mount_lfs Use __dead 2011-08-29 14:34:58 +00:00
mount_msdos Consistently spell MS-DOS with a hyphen. From Snader_LB. 2011-09-15 09:44:59 +00:00
mount_nfs Use __dead 2011-08-29 14:34:58 +00:00
mount_nilfs
mount_ntfs
mount_null Use __dead 2011-08-29 14:34:58 +00:00
mount_overlay Use __dead 2011-08-29 14:34:58 +00:00
mount_portal Fix error reporting in puffs_framev_enqueue_waitevent and callers. 2011-12-19 15:36:26 +00:00
mount_procfs Use __dead 2011-08-29 14:34:58 +00:00
mount_ptyfs Use __dead 2011-08-29 14:34:58 +00:00
mount_puffs Use __dead 2011-08-29 14:34:58 +00:00
mount_smbfs kill gcc45 warnings 2011-08-14 12:36:02 +00:00
mount_sysvbfs Use __dead 2011-08-29 14:34:58 +00:00
mount_tmpfs
mount_udf
mount_umap Use __dead 2011-08-29 14:34:58 +00:00
mount_union Use __dead 2011-08-29 14:34:58 +00:00
mount_v7fs Various improvements. 2011-06-27 13:50:31 +00:00
newbtconf
newfs Avoid magic manipulation of the format string. 2011-08-25 16:17:58 +00:00
newfs_ext2fs Add a URL of Linux Documentation "The Second Extended Filesystem." 2010-09-10 15:51:20 +00:00
newfs_lfs When creating a very small filesystem, use well-known small segment, 2012-02-02 03:50:32 +00:00
newfs_msdos Use __dead 2011-08-29 14:34:58 +00:00
newfs_sysvbfs Use __dead 2011-08-29 14:34:58 +00:00
newfs_udf Fix accidental use of logical && instead of binary & in rare case. 2011-05-26 07:59:08 +00:00
newfs_v7fs Sync usage with man page. 2011-08-10 12:13:20 +00:00
nologin
pdisk
ping include <netipsec/ipsec.h> rather than <netinet6/ipsec.h> from userland 2012-01-04 16:09:40 +00:00
ping6 include <netipsec/ipsec.h> rather than <netinet6/ipsec.h> from userland 2012-01-04 16:09:40 +00:00
pppoectl fix the date. 2011-10-12 16:41:47 +00:00
raidctl PR/45456: Tetsuya Isaki: Don't mix stdio and write. 2011-10-12 16:45:37 +00:00
rcorder
reboot static + __dead 2011-08-27 18:44:44 +00:00
resize_ffs Move a sentence to where it makes more sense. 2011-08-28 21:25:11 +00:00
resize_lfs
restore NULL does not need a cast, here 2011-09-16 16:13:16 +00:00
rndctl Entropy-pool implementation move and cleanup. 2012-02-02 19:42:57 +00:00
route Off by one and clarity improvement from Christian Biere 2011-12-26 00:20:43 +00:00
routed PR/45842: Henning Petersen: compare fgets with NULL not 0 2012-01-16 17:38:16 +00:00
rtsol
savecore print the missing flag if missing argument... 2011-09-13 19:55:28 +00:00
scan_ffs
scsictl Use __dead 2011-08-29 14:34:58 +00:00
setkey -consistently use "char *" for the compiled policy buffer in the 2012-01-04 15:55:35 +00:00
shutdown Fix thinko about halt vs. poweroff; from Moritz Wilhelmy in PR 45141. 2011-10-04 07:25:34 +00:00
slattach PR/45759: Khanh-Dang Nguyen Thu Lam: slattach(8) is not compatible with 2011-12-30 03:19:36 +00:00
svhlabel __dead + kill main prototype. 2011-08-27 18:55:58 +00:00
swapctl static + __dead 2011-08-27 18:57:50 +00:00
sysctl include <netipsec/ipsec.h> rather than <netinet6/ipsec.h> from userland 2012-01-04 16:09:40 +00:00
ttyflags static + __dead 2011-08-27 18:57:50 +00:00
tunefs Use __dead 2011-08-29 14:34:58 +00:00
umount
veriexecctl Use __dead 2011-08-29 14:34:58 +00:00
wdogctl static + __dead 2011-08-27 18:57:50 +00:00
wsconsctl Amiga wscons/Xorg support, first phase. 2011-12-15 14:25:12 +00:00
Makefile Import mount_chfs for CHFS. 2011-11-24 15:54:54 +00:00
Makefile.inc