Commit 4c747c41 authored by LoveSy's avatar LoveSy Committed by John Wu

Add rule: `allow * magisk_file lnk_file { * }`

parent 49abfcaf
...@@ -37,6 +37,7 @@ void sepolicy::magisk_rules() { ...@@ -37,6 +37,7 @@ void sepolicy::magisk_rules() {
allow(ALL, SEPOL_FILE_TYPE, "dir", ALL); allow(ALL, SEPOL_FILE_TYPE, "dir", ALL);
allow(ALL, SEPOL_FILE_TYPE, "fifo_file", ALL); allow(ALL, SEPOL_FILE_TYPE, "fifo_file", ALL);
allow(ALL, SEPOL_FILE_TYPE, "chr_file", ALL); allow(ALL, SEPOL_FILE_TYPE, "chr_file", ALL);
allow(ALL, SEPOL_FILE_TYPE, "lnk_file", ALL);
if (new_rules) { if (new_rules) {
// Make client type literally untrusted_app // Make client type literally untrusted_app
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment