summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_unix.c
diff options
context:
space:
mode:
authorSasha Levin <levinsasha928@gmail.com>2012-05-17 23:31:39 +0200
committerEric W. Biederman <ebiederm@xmission.com>2012-05-18 00:50:06 +0200
commit8ca937a668d4be0b0c89c4fc9a912a5885ac06fe (patch)
tree085d17219a0bbb7bd17eb60aab028256b2b5948d /net/sunrpc/auth_unix.c
parentuserns: Convert the move_pages, and migrate_pages permission checks to use ui... (diff)
downloadlinux-8ca937a668d4be0b0c89c4fc9a912a5885ac06fe.tar.xz
linux-8ca937a668d4be0b0c89c4fc9a912a5885ac06fe.zip
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>
Diffstat (limited to 'net/sunrpc/auth_unix.c')
0 files changed, 0 insertions, 0 deletions