random(4) update causes mips compile fail | mips boot fail

Mark R V Murray mark at grondar.org
Sat Sep 7 18:56:55 UTC 2013


On 7 Sep 2013, at 19:49, Sean Bruno <sean_bruno at yahoo.com> wrote:

> On Sat, 2013-09-07 at 19:40 +0100, Mark R V Murray wrote:
>>> Looks like it does indeed work if that is set to 1.  
>>> 
>>> This "DIR-825" config, should be loading random as a module, not
>> built
>>> into the kernel due to size limitations of the kernel on this board.
>> 
>> Hmm. I'll set it back to 1, but this is technically a security issue.
>> 
>> Thanks for the report back, and sorry for the hassles!
>> 
>> M
>> -- 
>> Mark R V Murray 
> 
> Ok.  Right now, the mips kernel doesn't build unless I have random built
> in, we were using it as a module previously.  


I'm testing a fix, but if you want to help out, please move the random_null_func()
from randomdev.c to pseudo_rng.c in sys/dev/random. Patch enclosed.

Thanks!

M
-- 
Mark R V Murray
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rng_fix.patch
Type: application/octet-stream
Size: 815 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130907/b40216bc/attachment.obj>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 353 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130907/b40216bc/attachment.sig>


More information about the freebsd-current mailing list