sdm660-common: sepolicy: Fix exported_camera_prop denials

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Kyle Harrison 2021-06-05 15:47:44 +08:00 committed by pix106
parent 72d6549660
commit 9730b3c65c
4 changed files with 6 additions and 0 deletions

View file

@ -3,3 +3,5 @@ get_prop({ appdomain -isolated_app }, mlipay_prop)
allow { appdomain -isolated_app } adsprpcd_file:dir r_dir_perms;
allow { appdomain -isolated_app } public_adsprpcd_file:file r_file_perms;
get_prop(appdomain, exported_camera_prop)

View file

@ -1 +1,2 @@
binder_call(mediaprovider, gpuservice)
get_prop(mediaserver, exported_camera_prop)

1
sepolicy/vendor/platform_app.te vendored Normal file
View file

@ -0,0 +1 @@
get_prop(platform_app, exported_camera_prop)

View file

@ -1 +1,3 @@
allow zygote exported_camera_prop:file { open read getattr write };
get_prop(zygote, exported_camera_prop)