Commit 34dded3b authored by topjohnwu's avatar topjohnwu

Fix denylist on shared UID apps

parent 975b1a5e
...@@ -53,10 +53,6 @@ static void rescan_apps() { ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment