From 84d53775e15d032088f59158a4f30e68eb27cf51 Mon Sep 17 00:00:00 2001 From: wenchangliu Date: Mon, 21 Feb 2022 04:10:33 +0000 Subject: [PATCH] Allow hal_graphics_allocator to access vscaler_heap_device avc: denied { read } for name="vscaler-secure" dev="tmpfs" \ ino=458 scontext=u:r:hal_graphics_allocator_default:s0 \ tcontext=u:object_r:vscaler_heap_device:s0 \ tclass=chr_file permissive=0 Bug: 199467922 Test: ExoPlayer secure playback Change-Id: I2b3be9f4f038317eb456a20b33e555e8d5db2678 --- whitechapel_pro/hal_graphics_allocator_default.te | 1 + 1 file changed, 1 insertion(+) diff --git a/whitechapel_pro/hal_graphics_allocator_default.te b/whitechapel_pro/hal_graphics_allocator_default.te index 2889a800..b55caabc 100644 --- a/whitechapel_pro/hal_graphics_allocator_default.te +++ b/whitechapel_pro/hal_graphics_allocator_default.te @@ -1,2 +1,3 @@ allow hal_graphics_allocator_default sensor_direct_heap_device:chr_file r_file_perms; allow hal_graphics_allocator_default dmabuf_system_secure_heap_device:chr_file r_file_perms; +allow hal_graphics_allocator_default vscaler_heap_device:chr_file r_file_perms;