Skip to content
Snippets Groups Projects
user avatar
David Howells authored
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: default avatarSteve Dickson <steved@redhat.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Acked-by: default avatarSteve Dickson <steved@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
43529c97
History
Name Last commit Last update