mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-22 19:58:05 +00:00
magiskpolicy: rules: fix writing to loop devices using upstream sepolicy
This commit is contained in:
@@ -154,6 +154,7 @@ void sepol_magisk_rules() {
|
||||
sepol_allow(SEPOL_PROC_DOMAIN, "tmpfs", "filesystem", "mount");
|
||||
sepol_allow(SEPOL_PROC_DOMAIN, "tmpfs", "filesystem", "unmount");
|
||||
sepol_allow("kernel", ALL, "file", "read");
|
||||
sepol_allow("kernel", ALL, "file", "write");
|
||||
|
||||
// Allow us to do anything to any files/dir/links
|
||||
sepol_allow(SEPOL_PROC_DOMAIN, ALL, "file", ALL);
|
||||
|
Reference in New Issue
Block a user