From be32c237af5efed3cd470a9d02916271a78befcc Mon Sep 17 00:00:00 2001 From: Wilson Sung Date: Wed, 29 Nov 2023 11:42:45 +0000 Subject: [PATCH] Move legacy file_contexts to tracking_denials Bug: 312143882 Bug: 314036372 Test: make selinux_policy Change-Id: If8f325e6e0c9ffa1bfb463686d1df6ed82abd804 --- legacy/whitechapel_pro/file_contexts | 7 ------- tracking_denials/file_contexts | 10 ++++++++++ 2 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 legacy/whitechapel_pro/file_contexts diff --git a/legacy/whitechapel_pro/file_contexts b/legacy/whitechapel_pro/file_contexts deleted file mode 100644 index ee0ff4e..0000000 --- a/legacy/whitechapel_pro/file_contexts +++ /dev/null @@ -1,7 +0,0 @@ -# Graphics -/vendor/lib(64)?/hw/vulkan\.mali\.so u:object_r:same_process_hal_file:s0 -/vendor/lib(64)?/libGralloc4Wrapper\.so u:object_r:same_process_hal_file:s0 - -# Data -/data/nfc(/.*)? u:object_r:nfc_data_file:s0 -/data/per_boot(/.*)? u:object_r:per_boot_file:s0 diff --git a/tracking_denials/file_contexts b/tracking_denials/file_contexts index 20b0a1d..a69e8bf 100644 --- a/tracking_denials/file_contexts +++ b/tracking_denials/file_contexts @@ -1,3 +1,5 @@ +# b/314036372 + # Binaries /vendor/bin/hw/android\.hardware\.secure_element@1\.2-uicc-service u:object_r:hal_secure_element_uicc_exec:s0 /vendor/bin/rlsservice u:object_r:rlsservice_exec:s0 @@ -28,3 +30,11 @@ /dev/dma_heap/famodel-secure u:object_r:faceauth_heap_device:s0 /dev/uci u:object_r:uci_device:s0 /dev/dma_heap/framebuffer-secure u:object_r:framebuffer_secure_heap_device:s0 + +# Graphics +/vendor/lib64/hw/vulkan\.mali\.so u:object_r:same_process_hal_file:s0 +/vendor/lib64/libGralloc4Wrapper\.so u:object_r:same_process_hal_file:s0 + +# Data +/data/nfc(/.*)? u:object_r:nfc_data_file:s0 +/data/per_boot(/.*)? u:object_r:per_boot_file:s0