diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2013-10-16 12:31:25 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-10-16 12:31:25 +0200 |
commit | 9119a3fda323be347e13ffbc8221f8fcc8c09f06 (patch) | |
tree | 36db3ee335a7b284c57304b02a4be7a2e952690f /xen/Makefile | |
parent | 7b17418d1a09fa386222394c0ba30be3bd179c8a (diff) | |
download | xen-9119a3fda323be347e13ffbc8221f8fcc8c09f06.tar.gz xen-9119a3fda323be347e13ffbc8221f8fcc8c09f06.tar.bz2 xen-9119a3fda323be347e13ffbc8221f8fcc8c09f06.zip |
fix DOMID_IO mapping permission checks
When the permission checks for memory mapping were moved from
get_pg_owner to xsm_mmu_update in aaba7a677, the exception for DOMID_IO
was not taken into account. This will cause IO memory mappings by PV
domains (mini-os in particular) to fail when XSM/FLASK is not being
used. This patch reintroduces the exception for DOMID_IO; the actual
restrictions on IO memory mappings have always been checked separately
using iomem_access_permitted, so this change should not break existing
access control.
Reported-by: Eduardo Peixoto Macedo <epm@cin.ufpe.br>
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
master commit: 07344c0f33be13bf9232a113681ef9087557f706
master date: 2013-09-26 10:15:47 +0200
Diffstat (limited to 'xen/Makefile')
0 files changed, 0 insertions, 0 deletions