kernel: prune allowlist with package name and uid

This commit is contained in:
weishu
2023-10-12 15:44:43 +08:00
parent 79951f06ed
commit b1830049f1
3 changed files with 15 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ bool __ksu_is_allow_uid(uid_t uid);
bool ksu_get_allow_list(int *array, int *length, bool allow);
void ksu_prune_allowlist(bool (*is_uid_exist)(uid_t, void *), void *data);
void ksu_prune_allowlist(bool (*is_uid_exist)(uid_t, char *, void *), void *data);
bool ksu_get_app_profile(struct app_profile *);
bool ksu_set_app_profile(struct app_profile *, bool persist);