]> git.baikalelectronics.ru Git - kernel.git/commit
CRED: Allow put_cred() to cope with a NULL groups list
authorDavid Howells <dhowells@redhat.com>
Mon, 14 Sep 2009 11:45:39 +0000 (12:45 +0100)
committerJames Morris <jmorris@namei.org>
Mon, 14 Sep 2009 23:10:57 +0000 (09:10 +1000)
commit461f5226a9d00a609b8d51ac2d71559116cc8a16
tree2e9e7895b1b9d2ac4a88e1fc9127ba644a7d0679
parentc279722cbc1b5d4e59d532b0563d7f245c75521c
CRED: Allow put_cred() to cope with a NULL groups list

put_cred() will oops if given a NULL groups list, but that is now possible with
the existence of cred_alloc_blank(), as used in keyctl_session_to_parent().

Added in commit:

commit faf71be17e110658af3e98e710fcc865f3c96423
Author: David Howells <dhowells@redhat.com>
Date:   Wed Sep 2 09:14:21 2009 +0100
KEYS: Add a keyctl to install a process's session keyring on its parent [try #6]

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