diff options
author | Nick Kralevich <nnk@google.com> | 2013-09-18 19:46:54 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-18 19:46:54 +0000 |
commit | 4f18183bd6d3d2ed5d698c176ecc239211bdb82e (patch) | |
tree | ce9961bc82db3917493b540ec77f84b0ca7d91b0 | |
parent | 9d773b978b9fc26fb08a973e0290aba5432b720a (diff) | |
parent | b410eb19130cf1eca158a672bba8f515e7627f11 (diff) | |
download | system_core-4f18183bd6d3d2ed5d698c176ecc239211bdb82e.zip system_core-4f18183bd6d3d2ed5d698c176ecc239211bdb82e.tar.gz system_core-4f18183bd6d3d2ed5d698c176ecc239211bdb82e.tar.bz2 |
Merge "Initialize /dev/urandom earlier in boot." into klp-dev
-rw-r--r-- | rootdir/init.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 19ab6cc..be74f6f 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -177,6 +177,9 @@ on post-fs-data # We restorecon /data in case the userdata partition has been reset. restorecon /data + # Avoid predictable entropy pool. Carry over entropy from previous boot. + copy /data/system/entropy.dat /dev/urandom + # Create dump dir and collect dumps. # Do this before we mount cache so eventually we can use cache for # storing dumps on platforms which do not have a dedicated dump partition. |