kgdb: don't needlessly skip PAGE_USER test for Fsl booke
authorWufei <fei.wu@windriver.com>
Wed, 28 Apr 2010 21:42:32 +0000 (17:42 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 22:02:51 +0000 (15:02 -0700)
commit4c001c0bb68a1672bd85f08f44a3901a5e0382a7
treef423524ec6fc7412ec8fc1716ba135639be03fc5
parent6d63e6f4f17a6cdb8f52fb4179820b6b96cab528
kgdb: don't needlessly skip PAGE_USER test for Fsl booke

commit 56151e753468e34aeb322af4b0309ab727c97d2e upstream.

The bypassing of this test is a leftover from 2.4 vintage
kernels, and is no longer appropriate, or even used by KGDB.
Currently KGDB uses probe_kernel_write() for all access to
memory via the KGDB core, so it can simply be deleted.

This fixes CVE-2010-1446.

CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: Paul Mackerras <paulus@samba.org>
CC: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Wufei <fei.wu@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/mm/fsl_booke_mmu.c