Skip to content

Commit 63f2c0d

Browse files
committed
Allow dex2oat to read files received from sockets
On some devices `dex2oat` cannot access files received from sockets due to SELinux restrictions. Rules added according to the avc logs.
1 parent c9e11c6 commit 63f2c0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

magisk-loader/magisk_module/sepolicy.rule

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ type xposed_file file_type
66
typeattribute xposed_file mlstrustedobject
77
allow {dex2oat installd isolated_app shell} xposed_file {file dir} *
88

9+
allow dex2oat unlabeled file open
10+
911
type xposed_data file_type
1012
typeattribute xposed_data mlstrustedobject
1113
allow * xposed_data {file dir} *

0 commit comments

Comments
 (0)