From ee8c7c2df2034806a282b12153d3584ad3da9083 Mon Sep 17 00:00:00 2001 From: Richard Chang Date: Fri, 24 Feb 2023 05:23:37 +0000 Subject: [PATCH] sepolicy: update init.te for zram device Bug: 269221861 Bug: 270633329 Test: Boot Change-Id: I050e9a72006dcd0b71ba1232e38e5f96bce4c967 --- tracking_denials/bug_map | 1 - vendor/init.te | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tracking_denials/bug_map b/tracking_denials/bug_map index f95e0d5b..7d124558 100644 --- a/tracking_denials/bug_map +++ b/tracking_denials/bug_map @@ -15,7 +15,6 @@ hal_dumpstate_default vendor_displaycolor_service service_manager b/264600086 hal_dumpstate_default vendor_modem_prop property_service b/264482983 hal_secure_element_uicc hal_secure_element_hwservice hwservice_manager b/264483151 hal_secure_element_uicc hidl_base_hwservice hwservice_manager b/264483151 -init ram_device blk_file b/270633329 mtectrl unlabeled dir b/264483752 pixelstats_vendor servicemanager binder b/264483357 pixelstats_vendor sysfs_pixelstats file b/264483319 diff --git a/vendor/init.te b/vendor/init.te index 94230f4a..3d0a8f99 100644 --- a/vendor/init.te +++ b/vendor/init.te @@ -9,4 +9,5 @@ allow init custom_ab_block_device:lnk_file relabelto; allow init boot_block_device:lnk_file relabelto; allow init persist_file:dir mounton; +allow init ram_device:blk_file w_file_perms;