summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <cpebenito@tresys.com>2009-07-29 15:28:14 -0400
committerChris PeBenito <cpebenito@tresys.com>2009-07-29 15:28:14 -0400
commit3162277adee22e7e083bdb68a1499ea88ae7bbbe (patch)
tree7e7072ddf6ffda82154cde5184494d628a326e51
parent2a4740c0a092b0ebfea8b5b5fb5b4a98a9b165c7 (diff)
alsa file location update for debian, from Manoj.
-rw-r--r--policy/modules/admin/alsa.fc5
-rw-r--r--policy/modules/admin/alsa.te2
2 files changed, 6 insertions, 1 deletions
diff --git a/policy/modules/admin/alsa.fc b/policy/modules/admin/alsa.fc
index 545a817e..30a0ac74 100644
--- a/policy/modules/admin/alsa.fc
+++ b/policy/modules/admin/alsa.fc
@@ -10,4 +10,9 @@
/usr/bin/ainit -- gen_context(system_u:object_r:alsa_exec_t,s0)
+ifdef(`distro_debian', `
+/usr/share/alsa/alsa\.conf gen_context(system_u:object_r:alsa_etc_rw_t,s0)
+/usr/share/alsa/pcm(/.*)? gen_context(system_u:object_r:alsa_etc_rw_t,s0)
+')
+
/var/lib/alsa(/.*)? gen_context(system_u:object_r:alsa_var_lib_t,s0)
diff --git a/policy/modules/admin/alsa.te b/policy/modules/admin/alsa.te
index 4250bbd2..f86dab9d 100644
--- a/policy/modules/admin/alsa.te
+++ b/policy/modules/admin/alsa.te
@@ -1,5 +1,5 @@
-policy_module(alsa, 1.7.1)
+policy_module(alsa, 1.7.2)
########################################
#