From 7e2cacf3cadfe0dba50deb93253aafed8ab75531 Mon Sep 17 00:00:00 2001 From: Omkar Chandorkar Date: Tue, 20 Apr 2021 11:49:37 +0530 Subject: [PATCH] sm8150-common: sepolicy: allow rw_file perms to secure_element hal * fixes E NxpEseHal: seHalInit: SecureElement open failed!!! Signed-off-by: Omkar Chandorkar --- sepolicy/vendor/hal_secure_element_default.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sepolicy/vendor/hal_secure_element_default.te b/sepolicy/vendor/hal_secure_element_default.te index ebe966d1..b76d22f1 100644 --- a/sepolicy/vendor/hal_secure_element_default.te +++ b/sepolicy/vendor/hal_secure_element_default.te @@ -1 +1 @@ -allow hal_secure_element_default nfc_device:chr_file { read write }; +allow hal_secure_element_default nfc_device:chr_file rw_file_perms;