davinci: 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.

c78a463e87

Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
This commit is contained in:
Wang Han
2018-08-18 19:58:13 +08:00
committed by Arian
parent bf9b868b7f
commit 3eefee6e89

View File

@@ -75,9 +75,6 @@ firmware_directories /vendor/firmware_mnt/image/
/dev/qvr_external_sensor_ioctl 0660 system system
/sys/kernel/qvr_external_sensor/fd 0660 system system
# Wlan
/dev/hw_random 0600 root root
# Permissions for audio
/dev/msm_qcelp 0660 system audio
/dev/msm_evrc 0660 system audio