xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] flask/policy: allow configure_domain call during domain creation
@ 2014-08-29 12:41 Andrii Tseglytskyi
  2014-08-29 12:46 ` Andrii Tseglytskyi
  0 siblings, 1 reply; 5+ messages in thread
From: Andrii Tseglytskyi @ 2014-08-29 12:41 UTC (permalink / raw)
  To: xen-devel, Julien Grall

If XSM is enabled XEN_DOMCTL_configure_domain call should be allowed
during domU creation, otherwise domain will not be created.

Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
---
 tools/flask/policy/policy/modules/xen/xen.if | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/flask/policy/policy/modules/xen/xen.if b/tools/flask/policy/policy/modules/xen/xen.if
index dedc035..e598772 100644
--- a/tools/flask/policy/policy/modules/xen/xen.if
+++ b/tools/flask/policy/policy/modules/xen/xen.if
@@ -49,7 +49,7 @@ define(`create_domain_common', `
 			getdomaininfo hypercall setvcpucontext setextvcpucontext
 			getscheduler getvcpuinfo getvcpuextstate getaddrsize
 			getaffinity setaffinity };
-	allow $1 $2:domain2 { set_cpuid settsc setscheduler setclaim  set_max_evtchn };
+	allow $1 $2:domain2 { set_cpuid settsc setscheduler setclaim  set_max_evtchn configure_domain };
 	allow $1 $2:security check_context;
 	allow $1 $2:shadow enable;
 	allow $1 $2:mmu { map_read map_write adjust memorymap physmap pinpage mmuext_op };
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-29 20:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-29 12:41 [PATCH] flask/policy: allow configure_domain call during domain creation Andrii Tseglytskyi
2014-08-29 12:46 ` Andrii Tseglytskyi
2014-08-29 19:02   ` Julien Grall
2014-08-29 19:45     ` Andrii Tseglytskyi
2014-08-29 20:28       ` Julien Grall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).