commit | 43529c97122f2c851126447963eedcb8cba74fbe | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Jan 09 16:13:46 2009 +0000 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Jan 09 11:53:53 2009 -0800 |
tree | 4bcba354186ae52e84d57920012f94d47bf0f72b | |
parent | 0de336814107358bc8c4173bf9ce2d42445173fe [diff] |
CRED: Must initialise the new creds in prepare_kernel_cred() The newly allocated creds in prepare_kernel_cred() must be initialised before get_uid() and get_group_info() can access them. They should be copied from the old credentials. Reported-by: Steve Dickson <steved@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Steve Dickson <steved@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>