diff options
author | markm <markm@FreeBSD.org> | 2013-09-07 22:07:36 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2013-09-07 22:07:36 +0000 |
commit | b136eed63006963c7bf74ec337f78e9e320493c2 (patch) | |
tree | 5db3a9f20235f79669e06d69bb0fb00976c43a90 /sys/dev/random/randomdev.c | |
parent | 27e62f99b3ce60799dd100bd01be3c71de3e20c1 (diff) | |
download | FreeBSD-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.c | 15 |
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, |