diff options
author | David Howells <dhowells@redhat.com> | 2009-01-09 17:13:46 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-09 20:53:53 +0100 |
commit | 43529c97122f2c851126447963eedcb8cba74fbe (patch) | |
tree | 4bcba354186ae52e84d57920012f94d47bf0f72b /drivers/ata | |
parent | CRED: Missing put_cred() in prepare_kernel_cred() (diff) | |
download | linux-43529c97122f2c851126447963eedcb8cba74fbe.tar.xz linux-43529c97122f2c851126447963eedcb8cba74fbe.zip |
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>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions