Add rule: allow * magisk_file lnk_file { * }

This commit is contained in:
LoveSy 2021-10-25 23:40:25 +08:00 committed by John Wu
parent 49abfcafed
commit 4c747c4148

View File

@ -37,6 +37,7 @@ void sepolicy::magisk_rules() {
allow(ALL, SEPOL_FILE_TYPE, "dir", ALL);
allow(ALL, SEPOL_FILE_TYPE, "fifo_file", ALL);
allow(ALL, SEPOL_FILE_TYPE, "chr_file", ALL);
allow(ALL, SEPOL_FILE_TYPE, "lnk_file", ALL);
if (new_rules) {
// Make client type literally untrusted_app