Sasha Levin 8ca937a668 cred: use correct cred accessor with regards to rcu read lock
Commit "userns: Convert setting and getting uid and gid system calls to use
kuid and kgid has modified the accessors in wait_task_continued() and
wait_task_stopped() to use __task_cred() instead of task_uid().

__task_cred() assumes that we're inside a rcu read lock, which is untrue
for these two functions.

Modify it to use task_uid() instead.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
2012-05-17 16:50:06 -06:00
..
2012-03-21 10:15:51 -07:00
2012-03-28 18:30:03 +01:00
2012-03-23 16:58:42 -07:00
2012-03-26 12:50:53 +10:30
2012-03-28 18:30:03 +01:00
2012-03-15 18:17:55 -07:00