mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-06-02 06:03:44 +02: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
|
// Let init run stuffs
|
||||||
allow(["init"], [proc], ["process"], all);
|
allow(["init"], [proc], ["process"], all);
|
||||||
|
|
||||||
// For mounting loop devices, mirrors, tmpfs
|
|
||||||
allow(["kernel"], ["fs_type", "dev_type", "file_type"], ["file"], ["read", "write"]);
|
|
||||||
|
|
||||||
// Zygisk rules
|
// Zygisk rules
|
||||||
allow(["zygote"], ["zygote"], ["process"], ["execmem"]);
|
allow(["zygote"], ["zygote"], ["process"], ["execmem"]);
|
||||||
allow(["zygote"], ["fs_type"], ["filesystem"], ["unmount"]);
|
allow(["zygote"], ["fs_type"], ["filesystem"], ["unmount"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user