Fix rlsservice selinux denial

Allow rlsservice to access vendor_camera_prop

Bug: 260366344
Test: Compiles. Removing rlsservice.te and running specified unit test
does not reproduce bug.

Change-Id: I5b79c2c86ff3f35d1123e5e1b2a1a942f825af5e
This commit is contained in:
timmyli 2022-11-29 04:00:46 +00:00
parent 96d88b3f98
commit 46ec476bbc
2 changed files with 2 additions and 5 deletions

View file

@ -28,3 +28,5 @@ allow rlsservice aoc_device:chr_file rw_file_perms;
# For observing apex file changes # For observing apex file changes
allow rlsservice apex_info_file:file r_file_perms; allow rlsservice apex_info_file:file r_file_perms;
# Allow read camera property
get_prop(rlsservice, vendor_camera_prop);

View file

@ -1,5 +0,0 @@
# b/260366344
dontaudit rlsservice vendor_camera_prop:file { getattr };
dontaudit rlsservice vendor_camera_prop:file { map };
dontaudit rlsservice vendor_camera_prop:file { open };
dontaudit rlsservice vendor_camera_prop:file { read };