]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 30 Apr 2010 02:41:44 +0000 (21:41 -0500)
commit56151e753468e34aeb322af4b0309ab727c97d2e
treedd2b28d468e3c5fda711df1c0a3a6a3356772be9
parent79dba2eaa771c3173957eccfd288e0e0d12e4d3f
kgdb: don't needlessly skip PAGE_USER test for Fsl booke

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>
arch/powerpc/mm/fsl_booke_mmu.c