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 22:38:35 +0000 (15:38 -0700)
commite6ef73f345a23e5c3bcd00671ad865dd426f9bd0
treeda193f8d948351951bf895d0c745963f4120147f
parentbae751b9ab3593dc549ba29acea90b08ada0e653
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