Migrate prune_su_access to Rust

This commit is contained in:
topjohnwu
2025-01-10 09:04:56 +08:00
committed by John Wu
parent 5637a258fc
commit 4d4195c02d
12 changed files with 104 additions and 88 deletions

View File

@@ -12,8 +12,6 @@
#define AID_ROOT 0
#define AID_SHELL 2000
#define AID_APP_START 10000
#define AID_APP_END 19999
#define AID_USER_OFFSET 100000
#define to_app_id(uid) (uid % AID_USER_OFFSET)
@@ -60,10 +58,6 @@ void denylist_handler(int client, const sock_cred *cred);
void su_daemon_handler(int client, const sock_cred *cred);
void zygisk_handler(int client, const sock_cred *cred);
// Package
std::vector<bool> get_app_no_list();
void prune_su_access();
// Module stuffs
void handle_modules();
void load_modules();