svn commit: r256203 - projects/random_number_generator/sys/dev/random
Mark Murray
markm at FreeBSD.org
Wed Oct 9 17:50:37 UTC 2013
Author: markm
Date: Wed Oct 9 17:50:36 2013
New Revision: 256203
URL: http://svnweb.freebsd.org/changeset/base/256203
Log:
Wrap some policy-rich code in 'if NOTYET' until we can thresh out what it really needs to do.
Modified:
projects/random_number_generator/sys/dev/random/random_harvestq.c
Modified: projects/random_number_generator/sys/dev/random/random_harvestq.c
==============================================================================
--- projects/random_number_generator/sys/dev/random/random_harvestq.c Wed Oct 9 17:41:47 2013 (r256202)
+++ projects/random_number_generator/sys/dev/random/random_harvestq.c Wed Oct 9 17:50:36 2013 (r256203)
@@ -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)
More information about the svn-src-projects
mailing list