Commit Graph

8 Commits

Author SHA1 Message Date
Arian
1b9073260d
sm6150-common: rootdir: Setup file permissions on mius iio devices
Change-Id: Id5301d3c001f2e656da3c462a6576d2d24737a18
2021-06-18 18:19:30 +02:00
Arian
bb69958805
sm6150-common: rootdir: Setup all permissions for left, right and white LEDs
Change-Id: Id49a80bb2d55186ed908962d90e0be3d90e1acdf
2021-04-25 15:23:51 +02:00
Arian
264c3a5ca8
Revert "davinci: rootdir: Drop led permissions from ueventd"
This reverts commit 688407d50e.

Change-Id: I30ee38523f5ab05e8ca6101522062fdd99e91280
2021-04-25 15:23:51 +02:00
Can Guo
5b03779a63
davinci: rootdir: Change ownership of UFS RPMB bsg node
Change ownership of UFS RPMB bsg node so that TZ RPMB service
can open this node without root permissions.

Change-Id: I285e2ae26094677d91ad8486457af86e7aaabbb9
2020-12-30 02:02:57 +01:00
Arian
688407d50e
davinci: rootdir: Drop led permissions from ueventd
* Set the permissions we need from lights HAL

Change-Id: I93bc6cc0aab1d55f32b53a01df662fe5327c0199
2020-11-28 18:12:02 +01:00
Wang Han
3eefee6e89
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
2020-08-06 21:28:09 +02:00
Arian
bf9b868b7f
davinci: rootdir: Cleanup ueventd.rc
Change-Id: I82f91760460dc00610a654a0f2a9e4bfcaafa96f
2020-08-06 21:28:09 +02:00
Arian
5533cb3b62
davinci: rootdir: Import uevent
Change-Id: I7156ee9e8f6035135114c5d69fea54a4b0d2579b
2020-08-06 21:28:09 +02:00