mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-03-12 21:23:02 -07:00
Remove unnecessary file system permissions
Removed permissions for mounting loop devices, mirrors, and tmpfs.
This commit is contained in:
@@ -125,9 +125,6 @@ impl SePolicy {
|
||||
// Let init run stuffs
|
||||
allow(["init"], [proc], ["process"], all);
|
||||
|
||||
// For mounting loop devices, mirrors, tmpfs
|
||||
allow(["kernel"], ["fs_type", "dev_type", "file_type"], ["file"], ["read", "write"]);
|
||||
|
||||
// Zygisk rules
|
||||
allow(["zygote"], ["zygote"], ["process"], ["execmem"]);
|
||||
allow(["zygote"], ["fs_type"], ["filesystem"], ["unmount"]);
|
||||
|
||||
Reference in New Issue
Block a user