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

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)