https://github.com/torvalds/linux
Revision 43529c97122f2c851126447963eedcb8cba74fbe authored by David Howells on 09 January 2009, 16:13:46 UTC, committed by Linus Torvalds on 09 January 2009, 19:53:53 UTC
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>
1 parent 0de3368
History
Tip revision: 43529c97122f2c851126447963eedcb8cba74fbe authored by David Howells on 09 January 2009, 16:13:46 UTC
CRED: Must initialise the new creds in prepare_kernel_cred()
Tip revision: 43529c9
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 106.0 KB
Makefile -rw-r--r-- 54.1 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top