Re: Read/write file from random(4) driver

2015-04-18 Thread Greg KH
On Sat, Apr 18, 2015 at 01:02:19PM -0400, Theodore Ts'o wrote: > (Assuming you can get the embedded developers to use the latest > version of the userspace distributions / frameworks, granted, which is > not at all guaranteed, but they are more likely to use newer userspace > than they are the late

Re: Read/write file from random(4) driver

2015-04-18 Thread Theodore Ts'o
On Sat, Apr 18, 2015 at 11:28:16AM -0400, Sandy Harris wrote: > What I'd like to add is a small (128 to 512 bits) file that the driver > tries to read during initialisation and writes periodically later. > This would not completely solve the problem but by moving the > read/write into the kernel it

Read/write file from random(4) driver

2015-04-18 Thread Sandy Harris
I realise that in general reading files from kernel space is a bad idea, and understand at least some of the reasons. I have read Greg K-H's article on the topic (http://www.linuxjournal.com/article/8110) and some other discussion. However, I think I see a specific exception and am looking for opin