aboutsummaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorWang Han <416810799@qq.com>2018-08-18 19:58:13 +0800
committerDavide Garberi <dade.garberi@gmail.com>2018-09-25 15:22:21 +0200
commit71caa7bb8bf08cfbc99f4ff06499666a12eba46f (patch)
treef4cd9704c6d4fda7ef1d268d6eb07bd3c99e4b43 /rootdir
parent76a47f64010d86cbd1c76f4c7c7c46a1acc2cd77 (diff)
msm8996-common: ueventd: Don't modify permissions of /dev/hw_random
This addresses an underlying problem since /dev/hw_random is used. The issue is that EntropyMixer, which runs in system_server, needs to read from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer can never accress this node, resulting in warnings like this: W EntropyMixer: Failed to add HW RNG output to entropy pool W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied) AOSP ueventd handles this well, so just remove this line to get things back to stage. This issue was never exposed because Google derps the logging here, which is already fixed on Pie. https://android.googlesource.com/platform/frameworks/base/+/c78a463e875d91eae2cf256042fd99d130217c38 Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/ueventd.qcom.rc1
1 files changed, 0 insertions, 1 deletions
diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc
index d48ee2c..793d4bd 100644
--- a/rootdir/etc/ueventd.qcom.rc
+++ b/rootdir/etc/ueventd.qcom.rc
@@ -149,7 +149,6 @@
/dev/msm_vidc_dec_sec 0660 system audio
/dev/msm_vidc_enc 0660 system audio
/dev/msm_rotator 0660 system system
-/dev/hw_random 0600 root root
/dev/sdsprpc-smd 0660 system system
#permissions for audio