From 6c3350b249d7cb6b7f836451a6112cf7d208ccfe Mon Sep 17 00:00:00 2001 From: haridhayal11 Date: Sun, 7 Aug 2022 16:08:04 +0530 Subject: [PATCH] sepolicy: address persist.sys.sf.hs_mode prop denials --- sepolicy/property_contexts | 1 + sepolicy/samsung.te | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 sepolicy/property_contexts diff --git a/sepolicy/property_contexts b/sepolicy/property_contexts new file mode 100644 index 0000000..9f4314a --- /dev/null +++ b/sepolicy/property_contexts @@ -0,0 +1 @@ +persist.sys.sf.hs_mode u:object_r:sf_hs_mode_prop:s0 diff --git a/sepolicy/samsung.te b/sepolicy/samsung.te index 63f4edc..344372c 100644 --- a/sepolicy/samsung.te +++ b/sepolicy/samsung.te @@ -2,3 +2,8 @@ type boot_prop, property_type; set_prop(system_server, boot_prop); +type hal_graphics_composer_default, domain; + +type sf_hs_mode_prop, property_type; + +get_prop(hal_graphics_composer_default, sf_hs_mode_prop);