mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
hal_camera: Allow traversal of persist/
Because otherwise access to persist/sensor/ doesn't work Bug: 70565622 Bug: 63629224 Test: Builds, HAL can open and read a file in /persist/sensor/calibration Change-Id: I9ce66dcf2856ed99c09b8183c41d00ee07ad2460
This commit is contained in:
1
sepolicy/vendor/hal_camera.te
vendored
1
sepolicy/vendor/hal_camera.te
vendored
@@ -47,5 +47,6 @@ allow hal_camera sysfs_easel:file rw_file_perms;
|
||||
allow hal_camera qdsp_device:chr_file r_file_perms;
|
||||
|
||||
# lens calibration file
|
||||
allow hal_camera persist_file:dir search;
|
||||
allow hal_camera persist_sensors_file:dir search;
|
||||
allow hal_camera persist_sensors_file:file { getattr open read };
|
||||
|
||||
Reference in New Issue
Block a user