Allow sensors HAL to rw the sensors registry. am: 31981dfaea
am: 1e07ca2133
am: dab6ebf461
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/18801904 Change-Id: I1e15d7c426ddf0d7c76749b6cd20a078fc1cba52 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
731fcbfac1
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ allow hal_sensors_default persist_sensor_reg_file:file r_file_perms;
|
|||
r_dir_file(hal_sensors_default, persist_camera_file)
|
||||
|
||||
# Allow creation and writing of sensor registry data files.
|
||||
allow hal_sensors_default sensor_reg_data_file:dir r_dir_perms;
|
||||
allow hal_sensors_default sensor_reg_data_file:file r_file_perms;
|
||||
allow hal_sensors_default sensor_reg_data_file:dir rw_dir_perms;
|
||||
allow hal_sensors_default sensor_reg_data_file:file create_file_perms;
|
||||
|
||||
# Allow access to the display info for ALS.
|
||||
allow hal_sensors_default sysfs_display:file rw_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue