From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Sat, 17 Aug 2013 20:51:46 +0200 Subject: [refpolicy] [PATCH 7/7] Alsasound init script writes asound.state file In-Reply-To: <1376765506-28924-1-git-send-email-sven.vermeulen@siphos.be> References: <1376765506-28924-1-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1376765506-28924-8-git-send-email-sven.vermeulen@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com The alsasound init script writes updates into alsa state files, such as /var/lib/alsa/asound.state (for storing the ALSA mixer levels at shutdown). Signed-off-by: Sven Vermeulen --- policy/modules/system/init.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te index a97372a..08dd000 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te @@ -578,6 +578,10 @@ ifdef(`distro_suse',` ') optional_policy(` + alsa_write_lib(initrc_t) +') + +optional_policy(` amavis_search_lib(initrc_t) amavis_setattr_pid_files(initrc_t) ') -- 1.8.1.5