diff options
author | markm <markm@FreeBSD.org> | 2013-10-09 17:50:36 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2013-10-09 17:50:36 +0000 |
commit | df8b562913c4096b4bccbc237eeb870656d28f88 (patch) | |
tree | 2cdbd7ed7d12573e848dbe329d80288ec389a7e7 /sys/dev/random | |
parent | cb606506a323b36061605ba83d90ea5e60365ba0 (diff) | |
download | FreeBSD-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.c | 2 |
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) |