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:
Eino-Ville Talvala
2018-01-19 18:06:04 -08:00
parent 32eb479e66
commit 45c8eedd87

View File

@@ -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 };