Revert "kernel: don't save allowlist in worker"

This reverts commit 54461bc4c9.
This commit is contained in:
tiann
2023-04-18 13:19:37 +08:00
parent 7965522922
commit 6b8b02c475

View File

@@ -244,12 +244,7 @@ void ksu_prune_allowlist(bool (*is_uid_exist)(uid_t, void *), void *data)
// make sure allow list works cross boot
bool persistent_allow_list(void)
{
#ifndef MODULE
do_persistent_allow_list(NULL);
return true;
#else
return ksu_queue_work(&ksu_save_work);
#endif
}
bool ksu_load_allow_list(void)