]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IMA: use current_cred() instead of current->cred
authorEric Paris <eparis@redhat.com>
Mon, 11 May 2009 17:59:10 +0000 (13:59 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:49:35 +0000 (16:49 -0700)
commitcf43736282e9e9d79ca130eb9c666075f10dcb37
treeec9de666937fb082b4b381a56767ccbcbf5b51d4
parentaf300d11ea285f31cf4fec08204c108552912b2a
IMA: use current_cred() instead of current->cred

commit 37bcbf13d32e4e453e9def79ee72bd953b88302f upstream.

Proper invocation of the current credentials is to use current_cred() not
current->cred.  This patches makes IMA use the new method.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
security/integrity/ima/ima_audit.c
security/integrity/ima/ima_main.c