From 42ac322b3d3c12ce1bff06f9f63fc19dd32809c5 Mon Sep 17 00:00:00 2001 From: linjoey Date: Thu, 13 Jan 2022 00:06:20 +0800 Subject: [PATCH] Add vulkan and gralloc sepolicy. Bug: 206891640 Test: Test CTS testVulkanHardwareFeatures passed. Change-Id: Ia14aa691d6dbfad40344895c9e6a63a267754864 --- whitechapel_pro/file_contexts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/whitechapel_pro/file_contexts b/whitechapel_pro/file_contexts index 5dce809d..54517020 100644 --- a/whitechapel_pro/file_contexts +++ b/whitechapel_pro/file_contexts @@ -57,6 +57,10 @@ /vendor/lib(64)?/vendor-pixelatoms-cpp\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libprotobuf-cpp-lite-3\.9\.1\.so u:object_r:same_process_hal_file:s0 +# Graphics +/vendor/lib(64)?/hw/gralloc\.gs201\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/hw/vulkan\.gs201\.so u:object_r:same_process_hal_file:s0 + # Vendor kernel modules /vendor_dlkm/lib/modules/.*\.ko u:object_r:vendor_kernel_modules:s0