sdm660-common: sepolicy: Allow zygote to search adsprpdc file

Fixes:
avc: denied { search } for comm="main" name="/" dev="sde48" ino=2 scontext=u:r:zygote:s0 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0
avc: denied { search } for comm="usap64" name="/" dev="sde48" ino=2 scontext=u:r:zygote:s0 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0

Change-Id: Idd3df6ec46049d5691e298ac1d0851d7ab0bead3
Signed-off-by: Khusika Dhamar Gusti <mail@khusika.dev>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
boedhack99 2022-07-26 15:44:09 +07:00 committed by pix106
parent 985430ecd7
commit 641996465a

View file

@ -1,2 +1,3 @@
get_prop(zygote, exported_camera_prop)
allow zygote adsprpcd_file:dir search;
allow zygote unlabeled:dir { search };