From b2478a713a39ab745017308e8859467017fb6fa5 Mon Sep 17 00:00:00 2001 From: Alex Klyubin Date: Thu, 3 Oct 2013 13:31:28 -0700 Subject: [PATCH] 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 --- rootdir/ueventd.rc | 2 ++ 1 file changed, 2 insertions(+) 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