From 8d802db37aa159c8fe7421eddfe9c6858ad2dbdc Mon Sep 17 00:00:00 2001 From: Chungjui Fan Date: Mon, 17 Oct 2022 12:23:00 +0000 Subject: [PATCH] sepolicy: gs101: allow fastbootd to access gsc device node avc: denied { getattr } for pid=469 comm="fastbootd" path="/dev/gsc0" dev="tmpfs" ino=470 scontext=u:r:fastbootd:s0 tcontext=u:object_r:citadel_device:s0 tclass=chr_file permissive=0 Bug: 248301125 Change-Id: Ic1aec8874636437b9b8d795b46fae72fa8533302 Signed-off-by: Chungjui Fan --- whitechapel/vendor/google/fastbootd.te | 1 + 1 file changed, 1 insertion(+) diff --git a/whitechapel/vendor/google/fastbootd.te b/whitechapel/vendor/google/fastbootd.te index d6cf7315..e350e0f3 100644 --- a/whitechapel/vendor/google/fastbootd.te +++ b/whitechapel/vendor/google/fastbootd.te @@ -5,4 +5,5 @@ allow fastbootd devinfo_block_device:blk_file rw_file_perms; allow fastbootd sda_block_device:blk_file rw_file_perms; allow fastbootd sysfs_ota:file rw_file_perms; allow fastbootd custom_ab_block_device:blk_file rw_file_perms; +allow fastbootd citadel_device:chr_file rw_file_perms; ')