On 13 Oct 2013, at 16:13, Konstantin Belousov <kostik...@gmail.com> wrote: > Surely this works, thank you. The rwfile.c content probably should be > taken under the #ifdef RANDOM_RWFILE.
OK - thanks for the feedback! > But I do not see much use for the randomdev_read_file() and > randomdev_write_file() functions. It would be better to directly code > the VFS calls in the random_harvestq_cache(). For one thing, it would > eliminate unneccessary close and open of the entropy file. There is some uncertainty about the future of that code, so I want to keep it that way for now. Writing files from the kernel is making so@ very uncomfortable, and there is too much scope for error there. We'll settle it down properly in 11.*. M -- Mark R V Murray
signature.asc
Description: Message signed with OpenPGP using GPGMail