Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,24 @@ object WhitelistEngine {
)
}

rule {
ofType<DiskReadViolation>()
allow(
"""
MIUI's AccessController checks whether an access-control password file exists
during activity transitions (startActivity). This happens in the system server
and is reported back via Binder. Since we can't control when AccessController
is called, we allow this violation.
Comment thread
hal-eisen-adfa marked this conversation as resolved.
""".trimIndent(),
)

matchAdjacentFrames(
classAndMethod("java.io.File", "exists"),
classAndMethod("com.miui.server.AccessController", "haveAccessControlPassword"),
classAndMethod("com.miui.server.SecurityManagerService", "haveAccessControlPassword"),
)
}
Comment thread
hal-eisen-adfa marked this conversation as resolved.

rule {
ofType<DiskReadViolation>()
allow(
Expand Down
Loading