kernel: support CMD_IS_UID_GRANTED_ROOT and CMD_IS_UID_SHOULD_UMOUNT

This commit is contained in:
weishu
2023-06-03 22:43:50 +08:00
parent 5003824fa8
commit b31fc47197
4 changed files with 57 additions and 4 deletions

View File

@@ -18,6 +18,8 @@ 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 ksu_get_app_profile(struct app_profile *, bool query_by_uid);
bool ksu_set_app_profile(struct app_profile *, bool persist);
bool ksu_is_uid_should_umount(uid_t uid);
#endif