Remove All Ads from XDA
Find Your Device:
Or Continue to Thread: [APK] Seeder 2.0.0 entropy gen…
31st December 2012, 02:01 PM |#262  
Recognized Developer
Flag Warsaw
Thanks Meter: 1,615
Originally Posted by pepoluan

Unfortunately, lsof produces a snapshot in time only. You have to put it in a loop to capture anything.

During 1 minute, I see 2 processes accessing /dev/random. But since my loop has a 1 second delay, it's very likely that there are lots of other processes that slipped under the lsof radar, so to speak.

Yes, but this also means that such accesses happen really rarely and don't block for too much.

I still insist that in Android itself /dev/random is not used at all. You can as well check using Android cross reference:

This one is for Android 4.2.

The potential users are probably external applications and platform-specific libraries/applications from phone manufacturer, but this would mean they are broken, because even wpa_supplicant handles /dev/random reads in a non-blocking way (if configured to use /dev/random instead of /dev/urandom).

Btw. Blocking a single process does not block the whole system in any way. Linux uses preemptive multitasking.

Originally Posted by pepoluan

Well, they're still humans.

Remember the scandal of the missing December*? There's a proof there

*Someone messed up royally resulting in the inability of setting a contact's birthdate month to December.

Yes, but this was a trivial bug in application logic, not a core system component that causes performance degradation of the whole system, something that is unacceptable in such big project.
The Following User Says Thank You to tom3q For This Useful Post: [ View ] Gift tom3q Ad-Free