kernel: Adapt to low version Android init process (#973)

1. Adapt to low version Android init process
2. Add stop hook output
3. Fix output with missing line breaks
This commit is contained in:
longhuan1999
2023-10-02 12:00:24 +08:00
committed by GitHub
parent 945e2c3209
commit 54ee400dc5
8 changed files with 89 additions and 29 deletions

View File

@@ -97,7 +97,7 @@ void ksu_show_allow_list(void)
{
struct perm_data *p = NULL;
struct list_head *pos = NULL;
pr_info("ksu_show_allow_list");
pr_info("ksu_show_allow_list\n");
list_for_each (pos, &allow_list) {
p = list_entry(pos, struct perm_data, list);
pr_info("uid :%d, allow: %d\n", p->profile.current_uid,