summaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2010-04-23 19:18:00 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-04-24 20:31:25 +0200
commit93b4a44f3ad69520d605aace3f3486b8eb754b96 (patch)
tree8eb946db950ccc6aee1d00b226739f44141dd310 /security/commoncap.c
parentlib: fix the use of LZO to decompress initramfs images (diff)
downloadlinux-93b4a44f3ad69520d605aace3f3486b8eb754b96.tar.xz
linux-93b4a44f3ad69520d605aace3f3486b8eb754b96.zip
keys: fix an RCU warning
Fix the following RCU warning: =================================================== [ INFO: suspicious rcu_dereference_check() usage. ] --------------------------------------------------- security/keys/request_key.c:116 invoked rcu_dereference_check() without protection! This was caused by doing: [root@andromeda ~]# keyctl newring fred @s 539196288 [root@andromeda ~]# keyctl request2 user a a 539196288 request_key: Required key not available Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions