mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-14 23:04:31 +00:00
Use both package name and process name as key
Different packages could potentially use the same process name, and they shouldn't conflict with each other.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <string>
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
#include "daemon.h"
|
||||
|
||||
@@ -54,7 +55,7 @@ static inline int parse_int(const char *s) {
|
||||
|
||||
extern bool hide_enabled;
|
||||
extern pthread_mutex_t monitor_lock;
|
||||
extern std::map<std::string, std::string> hide_map;
|
||||
extern std::set<std::pair<std::string, std::string>> hide_set;
|
||||
extern int next_zygote;
|
||||
|
||||
enum {
|
||||
|
||||
Reference in New Issue
Block a user