teegris: Allow tzdaemon to write to /mnt/vendor/efs/tee
authorAndreas Schneider <asn@cryptomilk.org>
Mon, 16 Mar 2020 08:12:54 +0000 (09:12 +0100)
committerSamarV-121 <samarvispute121@pm.me>
Tue, 3 Aug 2021 05:44:07 +0000 (11:14 +0530)
Change-Id: Ie8b156bbf0d5b7efc8322e975ea0e22acc4a3a14
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
tee/teegris/vendor/tzdaemon.te

index 7293421f0d5aa98df47aaff3ecff634e1b7689a7..a600038fc4467e1b9861c56c8a49a9f2723ec425 100644 (file)
@@ -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;