summaryrefslogtreecommitdiff
path: root/rootdir/ueventd.rc
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2013-10-03 13:31:28 -0700
committerAlex Klyubin <klyubin@google.com>2013-10-03 13:32:36 -0700
commitb2478a713a39ab745017308e8859467017fb6fa5 (patch)
treeac779370ffdace46aafc6b203d2074315a3cd97a /rootdir/ueventd.rc
parent5daba1e0ee1c7cb21b3f8001ab6806834884f0d0 (diff)
Expose /dev/hw_random to group "system".
This is needed to let EntropyMixer (runs inside system_server) read from /dev/hw_random. Change-Id: Ifde851004301ffd41b2189151a64a0c5989c630f
Diffstat (limited to 'rootdir/ueventd.rc')
-rw-r--r--rootdir/ueventd.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/ueventd.rc b/rootdir/ueventd.rc
index 2cf02650b..a60cfc5cf 100644
--- a/rootdir/ueventd.rc
+++ b/rootdir/ueventd.rc
@@ -5,6 +5,8 @@
/dev/tty 0666 root root
/dev/random 0666 root root
/dev/urandom 0666 root root
+# Make HW RNG readable by group system to let EntropyMixer read it.
+/dev/hw_random 0440 root system
/dev/ashmem 0666 root root
/dev/binder 0666 root root