[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] flask: fix build after the introduction of DMOP
commit f71628bc159309d264a63fcf3134a702fe04ff69 Author: Wei Liu <wei.liu2@xxxxxxxxxx> AuthorDate: Wed Jan 25 10:43:11 2017 +0000 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Thu Jan 26 17:23:40 2017 +0000 flask: fix build after the introduction of DMOP In 58cbc034 send_irq permission was removed but there was still reference to it in policy file. Remove the stale reference. And now we also need dm permission. Add that. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Reviewed-by: Paul Durrant <paul.durrant@xxxxxxxxxx> xsm/build: Further build fixes following the DMop series Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- tools/flask/policy/modules/xen.if | 2 +- xen/xsm/dummy.c | 1 + xen/xsm/flask/hooks.c | 3 --- xen/xsm/flask/policy/access_vectors | 2 ++ 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/flask/policy/modules/xen.if b/tools/flask/policy/modules/xen.if index 45e5cea..f5d254f 100644 --- a/tools/flask/policy/modules/xen.if +++ b/tools/flask/policy/modules/xen.if @@ -58,7 +58,7 @@ define(`create_domain_common', ` allow $1 $2:mmu { map_read map_write adjust memorymap physmap pinpage mmuext_op updatemp }; allow $1 $2:grant setup; allow $1 $2:hvm { cacheattr getparam hvmctl sethvmc - setparam nested altp2mhvm altp2mhvm_op send_irq }; + setparam nested altp2mhvm altp2mhvm_op }; ') # create_domain(priv, target) diff --git a/xen/xsm/dummy.c b/xen/xsm/dummy.c index 1f659c7..3cb5492 100644 --- a/xen/xsm/dummy.c +++ b/xen/xsm/dummy.c @@ -156,6 +156,7 @@ void __init xsm_fixup_ops (struct xsm_operations *ops) set_to_dummy_if_null(ops, ioport_permission); set_to_dummy_if_null(ops, ioport_mapping); set_to_dummy_if_null(ops, pmu_op); + set_to_dummy_if_null(ops, dm_op); #endif set_to_dummy_if_null(ops, xen_version); } diff --git a/xen/xsm/flask/hooks.c b/xen/xsm/flask/hooks.c index 9332ca1..4baed39 100644 --- a/xen/xsm/flask/hooks.c +++ b/xen/xsm/flask/hooks.c @@ -1776,9 +1776,6 @@ static struct xsm_operations flask_ops = { #ifdef CONFIG_X86 .do_mca = flask_do_mca, .shadow_control = flask_shadow_control, - .hvm_set_pci_intx_level = flask_hvm_set_pci_intx_level, - .hvm_set_isa_irq_level = flask_hvm_set_isa_irq_level, - .hvm_set_pci_link_route = flask_hvm_set_pci_link_route, .mem_sharing_op = flask_mem_sharing_op, .apic = flask_apic, .machine_memory_map = flask_machine_memory_map, diff --git a/xen/xsm/flask/policy/access_vectors b/xen/xsm/flask/policy/access_vectors index 36a7df9..1f7eb35 100644 --- a/xen/xsm/flask/policy/access_vectors +++ b/xen/xsm/flask/policy/access_vectors @@ -284,6 +284,8 @@ class hvm # HVMOP_altp2m_destroy_p2m HVMOP_altp2m_switch_p2m # HVMOP_altp2m_set_mem_access HVMOP_altp2m_change_gfn altp2mhvm_op +# DMOP + dm } # Class event describes event channels. Interdomain event channels have their -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |