From 366c2ec1dc9caedd102f7705261032274d3d92b3 Mon Sep 17 00:00:00 2001 From: Sandeep Patil <sspatil@google.com> Date: Thu, 6 Apr 2017 13:50:23 -0700 Subject: [PATCH] sepolicy: add missing labels for same process HALs. Some of the same process HAL labeling was missing from Marlin. These are identified by tracking library dependencies. Bug: 37084733 Test: Build and boot sailfish. The change allows the labelled libraries to be opened by any domain. So, the boot test is sufficient. Change-Id: Id55e834d6863ca644f912efdd690fccb71d3eaf3 Signed-off-by: Sandeep Patil <sspatil@google.com> --- vendor/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/file_contexts b/vendor/file_contexts index 5ccfab40c..9d1b84f0f 100644 --- a/vendor/file_contexts +++ b/vendor/file_contexts @@ -39,6 +39,7 @@ # /(vendor|system/vendor)/lib(64)?/hw/android\.hardware\.graphics\.mapper@2\.0-impl\.so u:object_r:same_process_hal_file:s0 /(vendor|system/vendor)/lib(64)?/hw/android\.hardware\.renderscript@1\.0-impl\.so u:object_r:same_process_hal_file:s0 +/(vendor|system/vendor)/lib(64)?/hw/gralloc\.default\.so u:object_r:same_process_hal_file:s0 ############################# # Data files -- GitLab