From 140446794891260abd66bbf789fa999415073f76 Mon Sep 17 00:00:00 2001 From: Scott Warner Date: Thu, 5 Nov 2020 07:38:50 -0500 Subject: [PATCH] sm8150-common: sepolicy: Grant fingerprint xdsp_device rw perms Since fastrpc is moved to secure domain, fingerprint now needs to communicate over xdsp (/dev/adsprpc-smd-secure) Change-Id: I94b472144a946df898f12d5f6bee31ec8cc71d47 Signed-off-by: Anirudh Gupta --- sepolicy/vendor/hal_fingerprint_default.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/vendor/hal_fingerprint_default.te b/sepolicy/vendor/hal_fingerprint_default.te index 3fdc7ba5..b2204c92 100644 --- a/sepolicy/vendor/hal_fingerprint_default.te +++ b/sepolicy/vendor/hal_fingerprint_default.te @@ -15,6 +15,9 @@ allow hal_fingerprint_default qdsp_device:chr_file rw_file_perms; # Allow hal_fingerprint_default to read and write to tee_device allow hal_fingerprint_default tee_device:chr_file rw_file_perms; +# Allow hal_fingerprint_default to read and write to xdsp_device +allow hal_fingerprint_default xdsp_device:chr_file rw_file_perms; + # Allow hal_fingerprint_default to read and write to proc_touchpanel allow hal_fingerprint_default proc_touchpanel:dir search; allow hal_fingerprint_default proc_touchpanel:file rw_file_perms;