mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 19:08:26 +00:00
Fix denylist on shared UID apps
This commit is contained in:
parent
975b1a5e36
commit
34dded3b25
@ -53,10 +53,6 @@ static void rescan_apps() {
|
|||||||
struct stat st{};
|
struct stat st{};
|
||||||
xfstatat(dfd, entry->d_name, &st, 0);
|
xfstatat(dfd, entry->d_name, &st, 0);
|
||||||
int app_id = to_app_id(st.st_uid);
|
int app_id = to_app_id(st.st_uid);
|
||||||
if (app_id_to_pkgs.contains(app_id)) {
|
|
||||||
// This app ID has been handled
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (auto it = pkg_to_procs.find(entry->d_name); it != pkg_to_procs.end()) {
|
if (auto it = pkg_to_procs.find(entry->d_name); it != pkg_to_procs.end()) {
|
||||||
app_id_to_pkgs[app_id].insert(it->first);
|
app_id_to_pkgs[app_id].insert(it->first);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user