Enhanced denylist app id tracking

This commit is contained in:
vvb2060
2024-01-30 02:58:56 +08:00
committed by John Wu
parent 94d1c66f8a
commit 6aab856de7
5 changed files with 69 additions and 54 deletions
+1 -1
View File
@@ -86,9 +86,9 @@ void clear_pkg(const char *pkg, int user_id);
[[noreturn]] void install_module(const char *file);
// Denylist
extern std::atomic_flag skip_pkg_rescan;
extern std::atomic<bool> denylist_enforced;
int denylist_cli(int argc, char **argv);
void initialize_denylist();
void scan_deny_apps();
bool is_deny_target(int uid, std::string_view process);
void revert_unmount(int pid = -1) noexcept;