OSDN Git Service

ANDROID: uid_sys_stats: fix access of task_uid(task)
authorGanesh Mahendran <opensource.ganesh@gmail.com>
Tue, 25 Apr 2017 10:07:43 +0000 (18:07 +0800)
committerJin Qian <jinqian@google.com>
Thu, 27 Apr 2017 21:12:15 +0000 (21:12 +0000)
commit90d78776c4a0e13fb7ee5bd0787f04a1730631a6
treee8a47887ec43e61109a6ffdfe920d0ccb692b03c
parent3f0531e5775303091a1ff975cdd572cc6a935321
ANDROID: uid_sys_stats: fix access of task_uid(task)

struct task_struct *task should be proteced by tasklist_lock.

Change-Id: Iefcd13442a9b9d855a2bbcde9fd838a4132fee58
Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com>
drivers/misc/uid_sys_stats.c