mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-13 21:36:58 -08:00
Migrate package detection to Rust
This commit is contained in:
@@ -132,7 +132,7 @@ static void get_process_info(int client, const sock_cred *cred) {
|
||||
if (is_deny_target(uid, process)) {
|
||||
flags |= PROCESS_ON_DENYLIST;
|
||||
}
|
||||
if (get_manager(to_user_id(uid)) == uid) {
|
||||
if (MagiskD().get_manager(to_user_id(uid), nullptr, false) == uid) {
|
||||
flags |= PROCESS_IS_MAGISK_APP;
|
||||
}
|
||||
if (denylist_enforced) {
|
||||
|
||||
Reference in New Issue
Block a user