mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-22 13:11:33 +00:00
Allow kernel to relabel
This commit is contained in:
parent
aae5b466fb
commit
a6c2ba7c1e
@ -111,6 +111,8 @@ impl SepolicyMagisk for sepolicy {
|
||||
// For relabelling files
|
||||
allow(["rootfs"], ["labeledfs", "tmpfs"], ["filesystem"], ["associate"]);
|
||||
allow([file], ["pipefs", "devpts"], ["filesystem"], ["associate"]);
|
||||
allow(["kernel"], all, ["file"], ["relabelto"]);
|
||||
allow(["kernel"], ["tmpfs"], ["file"], ["relabelfrom"]);
|
||||
|
||||
// Let init transit to SEPOL_PROC_DOMAIN
|
||||
allow(["kernel"], ["kernel"], ["process"], ["setcurrent"]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user