Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 17:50:37 +0000 (UTC)
From:      Mark Murray <markm@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r256203 - projects/random_number_generator/sys/dev/random
Message-ID:  <201310091750.r99HobGh025151@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310091750.r99HobGh025151>