From 7fc12768410f3e2dafb7344d00e48e81cc28b817 Mon Sep 17 00:00:00 2001 From: manxiaoliang Date: Mon, 19 Dec 2022 14:39:03 +0800 Subject: [PATCH] Add sepolicy for hwc3 Tracked-On: OAM-105317 Signed-off-by: manxiaoliang --- graphics/composer3/file_contexts | 2 ++ graphics/composer3/violators_blacklist.te | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 graphics/composer3/file_contexts create mode 100644 graphics/composer3/violators_blacklist.te diff --git a/graphics/composer3/file_contexts b/graphics/composer3/file_contexts new file mode 100644 index 00000000..d6cf2112 --- /dev/null +++ b/graphics/composer3/file_contexts @@ -0,0 +1,2 @@ +/(vendor|system/vendor)/bin/hw/android\.hardware\.graphics\.composer3-service\.intel u:object_r:hal_graphics_composer_default_exec:s0 + diff --git a/graphics/composer3/violators_blacklist.te b/graphics/composer3/violators_blacklist.te new file mode 100644 index 00000000..90df0f21 --- /dev/null +++ b/graphics/composer3/violators_blacklist.te @@ -0,0 +1,2 @@ +typeattribute hal_graphics_composer_default data_between_core_and_vendor_violators; +