Skip to content

Commit f862ca4

Browse files
thestingerrandomhydrosol
authored andcommitted
auditallow app tmpfs execute
Signed-off-by: anupritaisno1 <[email protected]>
1 parent 9f2650b commit f862ca4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

prebuilts/api/30.0/public/te_macros

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ typeattribute $1 appdomain;
171171
# Label tmpfs objects for all apps.
172172
type_transition $1 tmpfs:file appdomain_tmpfs;
173173
allow $1 appdomain_tmpfs:file { execute getattr map read write };
174+
auditallow $1 appdomain_tmpfs:file execute;
174175
neverallow { $1 -runas_app -shell -simpleperf } { domain -$1 }:file no_rw_file_perms;
175176
neverallow { appdomain -runas_app -shell -simpleperf -$1 } $1:file no_rw_file_perms;
176177
# The Android security model guarantees the confidentiality and integrity

public/te_macros

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ typeattribute $1 appdomain;
171171
# Label tmpfs objects for all apps.
172172
type_transition $1 tmpfs:file appdomain_tmpfs;
173173
allow $1 appdomain_tmpfs:file { execute getattr map read write };
174+
auditallow $1 appdomain_tmpfs:file execute;
174175
neverallow { $1 -runas_app -shell -simpleperf } { domain -$1 }:file no_rw_file_perms;
175176
neverallow { appdomain -runas_app -shell -simpleperf -$1 } $1:file no_rw_file_perms;
176177
# The Android security model guarantees the confidentiality and integrity

0 commit comments

Comments
 (0)