From a777957b4942e607f2410999b9989f66b047a116 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Feb 19 2010 15:27:09 +0000 Subject: Rename qemu_unconfined_t to unconfined_qemu_t. --- diff --git a/policy/modules/apps/qemu.if b/policy/modules/apps/qemu.if index 8596352..fab6940 100644 --- a/policy/modules/apps/qemu.if +++ b/policy/modules/apps/qemu.if @@ -265,10 +265,10 @@ interface(`qemu_kill',` # interface(`qemu_domtrans_unconfined',` gen_require(` - type qemu_unconfined_t, qemu_exec_t; + type unconfined_qemu_t, qemu_exec_t; ') - domtrans_pattern($1, qemu_exec_t, qemu_unconfined_t) + domtrans_pattern($1, qemu_exec_t, unconfined_qemu_t) ') ######################################## diff --git a/policy/modules/apps/qemu.te b/policy/modules/apps/qemu.te index b35084f..0c72344 100644 --- a/policy/modules/apps/qemu.te +++ b/policy/modules/apps/qemu.te @@ -1,5 +1,5 @@ -policy_module(qemu, 1.3.1) +policy_module(qemu, 1.3.2) ######################################## # @@ -102,13 +102,14 @@ optional_policy(` ######################################## # -# qemu_unconfined local policy +# Unconfined qemu local policy # optional_policy(` - type qemu_unconfined_t; - application_type(qemu_unconfined_t) - unconfined_domain_noaudit(qemu_unconfined_t) + type unconfined_qemu_t; + typealias unconfined_qemu_t alias qemu_unconfined_t; + application_type(unconfined_qemu_t) + unconfined_domain_noaudit(unconfined_qemu_t) - allow qemu_unconfined_t self:process { execstack execmem }; + allow unconfined_qemu_t self:process { execstack execmem }; ')