Wrap some policy-rich code in 'if NOTYET' until we can thresh out what it really needs to do.

This commit is contained in:
Mark Murray 2013-10-09 17:50:36 +00:00
parent 371cbaafa8
commit 6a7ba84834
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/random_number_generator/; revision=256203

View File

@ -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)