Skip to content
Snippets Groups Projects
Commit 856452b4 authored by Dmitry Shmidt's avatar Dmitry Shmidt Committed by Todd Kjos
Browse files

ANDROID: uid_sys_stats: Copy task_struct comm field to bigger buffer


get_task_comm() currently checks if buf_size != TASK_COMM_LEN
and fails even if sizeof(buf) > TASK_COMM_LEN.

Change-Id: Icb3e9c172607534ef1db10baf5d626083db73498
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent 47b77b8d
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment