sm8350-common: sepolicy: allow camera hal to access persist camera data
This commit is contained in:
parent
59d1e4975c
commit
da27721999
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
@ -3,6 +3,9 @@
|
||||
/vendor/bin/batterysecret u:object_r:batterysecret_exec:s0
|
||||
/mnt/vendor/persist/subsys(/.*)? u:object_r:persist_subsys_file:s0
|
||||
|
||||
# Camera
|
||||
/mnt/vendor/persist/camera(/.*)? u:object_r:camera_persist_file:s0
|
||||
|
||||
# Power
|
||||
/sys/devices/virtual/touch/tp_dev/double_tap u:object_r:vendor_sysfs_double_tap:s0
|
||||
|
||||
|
2
sepolicy/vendor/hal_camera_default.te
vendored
2
sepolicy/vendor/hal_camera_default.te
vendored
@ -1,3 +1,5 @@
|
||||
type vendor_camera_sensor_prop, property_type;
|
||||
type camera_persist_file, vendor_persist_type, file_type;
|
||||
|
||||
set_prop(hal_camera_default, vendor_camera_sensor_prop)
|
||||
r_dir_file(hal_camera_default, camera_persist_file)
|
||||
|
Loading…
Reference in New Issue
Block a user