summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/randomdev.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2013-09-07 22:07:36 +0000
committermarkm <markm@FreeBSD.org>2013-09-07 22:07:36 +0000
commitb136eed63006963c7bf74ec337f78e9e320493c2 (patch)
tree5db3a9f20235f79669e06d69bb0fb00976c43a90 /sys/dev/random/randomdev.c
parent27e62f99b3ce60799dd100bd01be3c71de3e20c1 (diff)
downloadFreeBSD-src-b136eed63006963c7bf74ec337f78e9e320493c2.zip
FreeBSD-src-b136eed63006963c7bf74ec337f78e9e320493c2.tar.gz
Fix the build; Certain linkable symbols need to always be present.
Pass the pointy hat please. Also unblock the software (Yarrow) generator for now. This will be reverted; Yarrow needs to block until secure, not this behaviour of serving as soon as asked. Folks with specific requiremnts will be able to (can!) unblock this device with any write, and are encouraged to do so in /etc/rc.d/* scripting. ("Any" in this case could be "echo '' > /dev/random" as root).
Diffstat (limited to 'sys/dev/random/randomdev.c')
-rw-r--r--sys/dev/random/randomdev.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/dev/random/randomdev.c b/sys/dev/random/randomdev.c
index 850948e..0f10e6c 100644
--- a/sys/dev/random/randomdev.c
+++ b/sys/dev/random/randomdev.c
@@ -72,27 +72,12 @@ static struct cdevsw random_cdevsw = {
.d_name = "random",
};
-static struct random_adaptor *random_adaptor;
static eventhandler_tag attach_tag;
static int random_inited;
-
/* For use with make_dev(9)/destroy_dev(9). */
static struct cdev *random_dev;
-/* Used to fake out unused random calls in random_adaptor */
-void
-random_null_func(void)
-{
-}
-
-struct random_adaptor *
-random_get_active_adaptor(void)
-{
-
- return (random_adaptor);
-}
-
/* ARGSUSED */
static int
random_close(struct cdev *dev __unused, int flags, int fmt __unused,
OpenPOWER on IntegriCloud