diff options
author | Albert I <kras@raphielgang.org> | 2022-03-20 19:21:54 -0300 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-01-05 21:30:23 +0530 |
commit | a99906babb724e71029e014d38ed4b394637d3ce (patch) | |
tree | 668812306bf2bf7b780fb1c04c9c2a1d46665263 | |
parent | ca77bbd83864719953bdaca8f4ff3f715e9b269d (diff) |
veux: sepolicy: Allow apps and camera HAL access to secure ADSP domain
-rw-r--r-- | sepolicy/vendor/app.te | 1 | ||||
-rw-r--r-- | sepolicy/vendor/hal_camera_default.te | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sepolicy/vendor/app.te b/sepolicy/vendor/app.te index b70be61..03728c4 100644 --- a/sepolicy/vendor/app.te +++ b/sepolicy/vendor/app.te @@ -1,4 +1,5 @@ allow { appdomain -isolated_app } adsprpcd_file:dir r_dir_perms; allow { appdomain -isolated_app } public_adsprpcd_file:file r_file_perms; +allow { appdomain -isolated_app } vendor_xdsp_device:chr_file r_file_perms; get_prop({ appdomain -isolated_app }, vendor_mlipay_prop) diff --git a/sepolicy/vendor/hal_camera_default.te b/sepolicy/vendor/hal_camera_default.te index cbca59c..95c6257 100644 --- a/sepolicy/vendor/hal_camera_default.te +++ b/sepolicy/vendor/hal_camera_default.te @@ -2,3 +2,4 @@ r_dir_file(hal_camera_default, camera_persist_file) set_prop(hal_camera_default, vendor_camera_sensor_prop) allow hal_camera_default public_adsprpcd_file:file r_file_perms; +allow hal_camera_default vendor_xdsp_device:chr_file r_file_perms; |