From: David Howells Date: Fri, 9 Jan 2009 16:13:46 +0000 (+0000) Subject: CRED: Must initialise the new creds in prepare_kernel_cred() X-Git-Tag: v2.6.29-rc1~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43529c97122f2c851126447963eedcb8cba74fbe;p=pandora-kernel.git 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 Signed-off-by: David Howells Acked-by: Steve Dickson Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed