From c7fb8c20d23362a4e1a7dd48a490b15cff241594 Mon Sep 17 00:00:00 2001 From: Aflaungos <31782624+Aflaungos@users.noreply.github.com> Date: Sun, 22 Jan 2023 16:56:44 -0300 Subject: [PATCH] sdm710-common: sepolicy: Add SELinux policy for flags_health_check flags_health_ch: type=1400 audit(0.0:192095): avc: denied { open } for path=/dev/__properties__/u:object_r:aac_drc_prop:s0 dev=tmpfs ino=14629 scontext=u:r:flags_health_check:s0 tcontext=u:object_r:aac_drc_prop:s0 tclass=file permissive=1 avc: denied { getattr } for path=/dev/__properties__/u:object_r:aac_drc_prop:s0 dev=tmpfs ino=14629 scontext=u:r:flags_health_check:s0 tcontext=u:object_r:aac_drc_prop:s0 tclass=file permissive=1 avc: denied { open } for path=/dev/__properties__/u:object_r:ab_update_gki_prop:s0 dev=tmpfs ino=14631 scontext=u:r:flags_health_check:s0 tcontext=u:object_r:ab_update_gki_prop:s0 tclass=file permissive=1 avc: denied { open } for path=/dev/__properties__/u:object_r:adbd_config_prop:s0 dev=tmpfs ino=14632 scontext=u:r:flags_health_check:s0 tcontext=u:object_r:adbd_config_prop:s0 tclass=file permissive=1 avc: denied { getattr } for path=/dev/__properties__/u:object_r:adbd_config_prop:s0 dev=tmpfs ino=14632 scontext=u:r:flags_health_check:s0 tcontext=u:object_r:adbd_config_prop:s0 tclass=file permissive=1 Signed-off-by: Mikazuuu07 Signed-off-by: wulan17 --- sepolicy/private/flags_health_check.te | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sepolicy/private/flags_health_check.te diff --git a/sepolicy/private/flags_health_check.te b/sepolicy/private/flags_health_check.te new file mode 100644 index 0000000..f141a68 --- /dev/null +++ b/sepolicy/private/flags_health_check.te @@ -0,0 +1,4 @@ +allow flags_health_check aac_drc_prop:file r_file_perms; +allow flags_health_check ab_update_gki_prop:file r_file_perms; +allow flags_health_check adbd_config_prop:file r_file_perms; +allow flags_health_check ctl_adbd_prop:file r_file_perms;