mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
Fix wrong sepolicy rule
This commit is contained in:
parent
b11b81122a
commit
69181a6b72
@ -52,7 +52,8 @@ impl SepolicyMagisk for sepolicy {
|
||||
set_log_level_state(LogLevel::Warn, false);
|
||||
rules! {
|
||||
use self;
|
||||
allow(all, ["kernel"], ["security"], ["load_policy"]);
|
||||
// Prevent anything to change sepolicy except ourselves
|
||||
deny(all, ["kernel"], ["security"], ["load_policy"]);
|
||||
type_(proc, ["domain"]);
|
||||
typeattribute([proc], ["mlstrustedsubject", "netdomain", "appdomain"]);
|
||||
type_(file, ["file_type"]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user