diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-10-12 14:55:59 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-10-12 14:55:59 +0000 |
commit | 332eded02e8867048798b04537c428462ae6a0d9 (patch) | |
tree | 29bc562e6d8d88199157fac092e568a7c0cd6dff /sys | |
parent | c857f72425e9b432db8b45fcab4e6303998e57db (diff) | |
download | FreeBSD-src-332eded02e8867048798b04537c428462ae6a0d9.zip FreeBSD-src-332eded02e8867048798b04537c428462ae6a0d9.tar.gz |
Add a note ahea of the esource enum that if new entropy source
categories are added, the set of entropy source assertions in the
harvesting code also need to be updated.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/random.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/random.h b/sys/sys/random.h index c2e992f..5cf1611 100644 --- a/sys/sys/random.h +++ b/sys/sys/random.h @@ -33,6 +33,10 @@ int read_random(void *, int); +/* + * Note: if you add or remove members of esource, remember to also update the + * KASSERT regarding what valid members are in random_harvest_internal(). + */ enum esource { RANDOM_START = 0, RANDOM_WRITE = 0, |