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)
committerAmit Pundir <amit.pundir@linaro.org>
Tue, 14 Aug 2018 12:17:11 +0000 (17:47 +0530)
commit12b55f935a75ea773991db3fec89098d1758f91d
tree2d80f564251ea5f3830c6d69060ab9f116e942b3
parent9765a1b4012d54c8a4d4ef62eb4331091991c982
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>
(cherry picked from commit 90d78776c4a0e13fb7ee5bd0787f04a1730631a6)
drivers/misc/uid_sys_stats.c