summaryrefslogtreecommitdiffstats
path: root/sys/dev/random
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2013-10-09 17:50:36 +0000
committermarkm <markm@FreeBSD.org>2013-10-09 17:50:36 +0000
commitdf8b562913c4096b4bccbc237eeb870656d28f88 (patch)
tree2cdbd7ed7d12573e848dbe329d80288ec389a7e7 /sys/dev/random
parentcb606506a323b36061605ba83d90ea5e60365ba0 (diff)
downloadFreeBSD-src-df8b562913c4096b4bccbc237eeb870656d28f88.zip
FreeBSD-src-df8b562913c4096b4bccbc237eeb870656d28f88.tar.gz
Wrap some policy-rich code in 'if NOTYET' until we can thresh out what it really needs to do.
Diffstat (limited to 'sys/dev/random')
-rw-r--r--sys/dev/random/random_harvestq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/random/random_harvestq.c b/sys/dev/random/random_harvestq.c
index 61d852b..c491df0 100644
--- a/sys/dev/random/random_harvestq.c
+++ b/sys/dev/random/random_harvestq.c
@@ -84,6 +84,7 @@ static const char *entropy_files[] = {
NULL
};
+#ifdef NOTYET /* This is full of policy stuff, needs further discussion */
/* Deal with entropy cached externally if this is present.
* Lots of policy may eventually arrive in this function.
* Called after / is mounted.
@@ -138,6 +139,7 @@ random_harvestq_cache(void *arg __unused)
free(data, M_ENTROPY);
}
EVENTHANDLER_DEFINE(mountroot, random_harvestq_cache, NULL, 0);
+#endif /* NOTYET */
static void
random_kthread(void *arg)
OpenPOWER on IntegriCloud