projects
/
GitHub
/
LineageOS
/
android_device_samsung_slsi_sepolicy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4cac9
)
teegris: Allow tzdaemon to write to /mnt/vendor/efs/tee
author
Andreas Schneider
<asn@cryptomilk.org>
Mon, 16 Mar 2020 08:12:54 +0000
(09:12 +0100)
committer
SamarV-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
patch
|
blob
|
blame
|
history
diff --git
a/tee/teegris/vendor/tzdaemon.te
b/tee/teegris/vendor/tzdaemon.te
index 7293421f0d5aa98df47aaff3ecff634e1b7689a7..a600038fc4467e1b9861c56c8a49a9f2723ec425 100644
(file)
--- 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;