All of lore.kernel.org
 help / color / mirror / Atom feed
* XSM/FLASK questions
@ 2013-03-13 13:52 baozeng
  2013-03-13 16:55 ` Daniel De Graaf
  0 siblings, 1 reply; 3+ messages in thread
From: baozeng @ 2013-03-13 13:52 UTC (permalink / raw)
  To: xen-devel

Hello all,
    I played with Xen 4.1.0, XSM/FLASK module to see whether it works well or not. I
changed the policy file to make dom0 cannot create a domU labeled with domHU_t
type.  The policy.conf generated using "make policy" command is as the
following:
    type domHU_t, domain_type;
    allow dom0_t domHU_t:domain {max_vcpus setdomainmaxmem

                                setaddrsize getdomaininfo hypercall

                                setvcpucontext scheduler unpause

                                getvcpuinfo getaddrsize getvcpuaffinity}; //I
removed "create"

   Then I added the label domHU_t for a domU in its configure file as the following:

   access_control = ['policy=,label=system_u:system_r:domHU_t']

After that I made install the FLASK policy using "make install" and rebooted with
flask_enforcing = 1. But when I started the domU using "xm create domU.cfg", it can
still create it successfully.
   Since I removed the "create" operation in the policy, why dom0 can still create a
domU labeled with domHU_t? any idea? thanks.


      Best Regards,
               Baozeng Ding

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

end of thread, other threads:[~2013-03-15 10:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-13 13:52 XSM/FLASK questions baozeng
2013-03-13 16:55 ` Daniel De Graaf
2013-03-15 10:53   ` baozeng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.