Hi Herbert, On 12 July 2017 at 15:43, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > Hmm, one usage scenario for /dev/hwrng is to feed rngd which then > feeds into /dev/random. In that case it may not be desirable to > allow arbitrary access to hwrgn since it may cause the rate of > entropy going into /dev/random to go down. > > In any case, as you noted userspace can change this anyway so I > don't see why we need to make this policy change in the kernel. Looking at the comment in https://android.googlesource.com/platform/frameworks/base/+/master/services/core/java/com/android/server/EntropyMixer.java#145 I am wondering whether your concern is a problem. I do not know whether the comment in Android source is valid so please ignore my ignorance. Regards, PrasannaKumar