kernel: Switch to using pr_info for printing
This commit is contained in:
@@ -171,7 +171,7 @@ FILLDIR_RETURN_TYPE collect_user_ids(struct dir_context *ctx, const char *name,
|
|||||||
if (d_type != DT_DIR || namelen <= 0)
|
if (d_type != DT_DIR || namelen <= 0)
|
||||||
return FILLDIR_ACTOR_CONTINUE;
|
return FILLDIR_ACTOR_CONTINUE;
|
||||||
if (name[0] == '.' && (namelen == 1 || (namelen == 2 && name[1] == '.')))
|
if (name[0] == '.' && (namelen == 1 || (namelen == 2 && name[1] == '.')))
|
||||||
return FILLDIR_ACTOR_CONTINUE;;
|
return FILLDIR_ACTOR_CONTINUE;
|
||||||
|
|
||||||
// Parse numeric user ID
|
// Parse numeric user ID
|
||||||
uid_t uid = 0;
|
uid_t uid = 0;
|
||||||
@@ -309,7 +309,7 @@ basically no mask and flags for =< 4.10
|
|||||||
list_add_tail(&uid_entry->list, scan_ctx->uid_list);
|
list_add_tail(&uid_entry->list, scan_ctx->uid_list);
|
||||||
scan_ctx->pkg_count++;
|
scan_ctx->pkg_count++;
|
||||||
|
|
||||||
pr_info("Package: %s, UID: %u (user %u)\n", uid_entry->package, uid, scan_ctx->user_id);
|
pr_info("User Package: %s, UID: %u (user %u)\n", uid_entry->package, uid, scan_ctx->user_id);
|
||||||
return FILLDIR_ACTOR_CONTINUE;
|
return FILLDIR_ACTOR_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -557,8 +557,8 @@ skip_iterate:
|
|||||||
list_del(&pos->list);
|
list_del(&pos->list);
|
||||||
if (pos != &data)
|
if (pos != &data)
|
||||||
kfree(pos);
|
kfree(pos);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// clear apk_path_hash_list unconditionally
|
// clear apk_path_hash_list unconditionally
|
||||||
pr_info("search manager: cleanup!\n");
|
pr_info("search manager: cleanup!\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user