Allow USF sensor HAL to read camera persist files. am: 0bd50d1eb5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15352099 Change-Id: Id31975a653e79362c0dea9a86b52944d340f2fee
This commit is contained in:
commit
50486c63f3
1 changed files with 2 additions and 1 deletions
|
@ -2,10 +2,11 @@
|
|||
# USF sensor HAL SELinux type enforcements.
|
||||
#
|
||||
|
||||
# Allow reading of sensor registry persist files.
|
||||
# Allow reading of sensor registry persist files and camera persist files.
|
||||
allow hal_sensors_default persist_file:dir search;
|
||||
allow hal_sensors_default mnt_vendor_file:dir search;
|
||||
r_dir_file(hal_sensors_default, persist_sensor_reg_file)
|
||||
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 rw_dir_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue