diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2012-02-02 15:21:42 +0000 |
---|---|---|
committer | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2012-02-02 15:21:42 +0000 |
commit | c14a9b21171a7dd847188b3f882cf9efd490c414 (patch) | |
tree | 21903f29ba37a1c6db6f9d81d498ff8f09391c5c /tools/flask/policy/policy/modules/xen/xen.if | |
parent | a15e8b800a7dc62b1edc4314856dbc8f5003a28a (diff) | |
download | xen-c14a9b21171a7dd847188b3f882cf9efd490c414.tar.gz xen-c14a9b21171a7dd847188b3f882cf9efd490c414.tar.bz2 xen-c14a9b21171a7dd847188b3f882cf9efd490c414.zip |
flask/policy: use declare_domain for dom0_t
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/flask/policy/policy/modules/xen/xen.if')
-rw-r--r-- | tools/flask/policy/policy/modules/xen/xen.if | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/flask/policy/policy/modules/xen/xen.if b/tools/flask/policy/policy/modules/xen/xen.if index 3065718927..dde7f90e44 100644 --- a/tools/flask/policy/policy/modules/xen/xen.if +++ b/tools/flask/policy/policy/modules/xen/xen.if @@ -5,10 +5,10 @@ # Domain creation and setup # ################################################################################ -# declare_domain(type) +# declare_domain(type, attrs...) # Declare a type as a domain type, and allow basic domain setup define(`declare_domain', ` - type $1, domain_type; + type $1, domain_type`'ifelse(`$#', `1', `', `,shift($@)'); allow $1 $1:grant { query setup }; allow $1 $1:mmu { adjust physmap map_read map_write stat pinpage }; allow $1 $1:hvm { getparam setparam }; |