From bb419a235d0da5bfdbeb856348a8f09cc9b19499 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 16 Mar 2020 09:12:54 +0100 Subject: [PATCH] teegris: Allow tzdaemon to write to /mnt/vendor/efs/tee Change-Id: Ie8b156bbf0d5b7efc8322e975ea0e22acc4a3a14 Signed-off-by: SamarV-121 --- tee/teegris/vendor/tzdaemon.te | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tee/teegris/vendor/tzdaemon.te b/tee/teegris/vendor/tzdaemon.te index 7293421..a600038 100644 --- a/tee/teegris/vendor/tzdaemon.te +++ b/tee/teegris/vendor/tzdaemon.te @@ -20,3 +20,14 @@ allow tzdaemon tee_vendor_data_file:file create_file_perms; # /proc/stat allow tzdaemon proc_stat:file r_file_perms; + +# /efs +allow tzdaemon efs_file:dir r_dir_perms; + +# /efs/tee/ +# /mnt/vendor/efs/tee/ +allow tzdaemon tee_efs_file:dir create_dir_perms; +allow tzdaemon tee_efs_file:file create_file_perms; + +# /mnt/vendor/ +allow tzdaemon mnt_vendor_file:dir r_dir_perms; -- 2.20.1