sdm660-common: sepolicy: allow system_app to access hall_dev

* 08-12 22:43:25.794  1674  1674 W settings.device: type=1400 audit(0.0:7): avc: denied { search } for name="parameters" dev="sysfs" ino=21188 scontext=u:r:system_app:s0 tcontext=u:object_r:hall_dev:s0 tclass=dir permissive=0

Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Alcatraz323 2023-08-12 23:00:45 +08:00 committed by pix106
parent 0e79a7bd21
commit 3bf23bb2d7

View file

@ -1,5 +1,7 @@
allow system_app blkio_dev:dir search; allow system_app blkio_dev:dir search;
allow system_app hall_dev:dir r_dir_perms;
allow system_app hall_dev:file rw_file_perms; allow system_app hall_dev:file rw_file_perms;
allow system_app hall_dev:lnk_file r_file_perms;
allow system_app kcal_dev:dir search; allow system_app kcal_dev:dir search;
allow system_app kcal_dev:file rw_file_perms; allow system_app kcal_dev:file rw_file_perms;
allow system_app proc_pagetypeinfo:file r_file_perms; allow system_app proc_pagetypeinfo:file r_file_perms;