Home
last modified time | relevance | path

Searched hist:"5 c84342a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/security/keys/
H A Dkeyctl.c5c84342a Mon Sep 14 06:46:23 CDT 2009 Marc Dionne <marc.c.dionne@gmail.com> KEYS: Unlock tasklist when exiting early from keyctl_session_to_parent

When we exit early from keyctl_session_to_parent because of permissions or
because the session keyring is the same as the parent, we need to unlock the
tasklist.

The missing unlock causes the system to hang completely when using
keyctl(KEYCTL_SESSION_TO_PARENT) with a keyring shared with the parent.

Signed-off-by: Marc Dionne <marc.c.dionne@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>