]> xenbits.xensource.com Git - xen.git/commit
xen/arm: mm: Do not dump the p2m when mapping a foreign gfn
authorJulien Grall <julien.grall@citrix.com>
Thu, 13 Aug 2015 11:03:43 +0000 (12:03 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 2 Sep 2015 11:23:50 +0000 (12:23 +0100)
commitafc13fe5e21d18c09e44f8ae6f7f4484e9f1de7f
treebce3f4fb6acf7ca444aa80f1d475c03bad5c3ad3
parent7d418eab3b6dbdeec84bf73af301dca54368547a
xen/arm: mm: Do not dump the p2m when mapping a foreign gfn

The physmap operation XENMAPSPACE_gfmn_foreign is dumping the p2m when
an error occured by calling dump_p2m_lookup. But this function is not
using ratelimited printk.

Any domain able to map foreign gfmn would be able to flood the Xen
console.

The information wasn't not useful so drop it.

This is XSA-141.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/mm.c