kernel: use uid instead of package to compare allowlist, fix #580

This commit is contained in:
weishu
2023-06-04 09:18:27 +08:00
parent 2ce3976023
commit fc77ca989f
3 changed files with 6 additions and 8 deletions

View File

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