common: sepolicy: legacy: allow surfaceflinger to search hal_graphics_composer_default

* 05-17 11:51:43.193 W/binder:718_2(718): type=1400 audit(0.0:296): avc: denied { search } for name="667" dev="proc" ino=60796 scontext=u:r:surfaceflinger:s0 tcontext=u:r:hal_graphics_composer_default:s0 tclass=dir permissive=0

Change-Id: I4b0afddef711247963a98c0b9d48ac1d81a37138
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
This commit is contained in:
Jprimero15 2023-05-18 08:44:38 +08:00 committed by Joshua Primero
parent e1f1099f6d
commit 8ded1d1d3e
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@
allow surfaceflinger sysfs_graphics:file rw_file_perms;
allow surfaceflinger vendor_firmware_file:dir search;
allow surfaceflinger hal_graphics_composer_default:dir search;
# Use open file provided by poweroffhandler
binder_call(surfaceflinger, poweroffhandler);