From eca7eb3b476f255dd1482ea2de61113df9785afd Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Fri, 3 Sep 2010 11:56:10 -0400 Subject: [PATCH] Rearrange alsa interfaces. --- policy/modules/admin/alsa.if | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/policy/modules/admin/alsa.if b/policy/modules/admin/alsa.if index 91b6eef43..69aa7428b 100644 --- a/policy/modules/admin/alsa.if +++ b/policy/modules/admin/alsa.if @@ -105,25 +105,6 @@ interface(`alsa_manage_rw_config',` ') ') -######################################## -## -## Read Alsa lib files. -## -## -## -## Domain allowed access. -## -## -# -interface(`alsa_read_lib',` - gen_require(` - type alsa_var_lib_t; - ') - - files_search_var_lib($1) - read_files_pattern($1, alsa_var_lib_t, alsa_var_lib_t) -') - ######################################## ## ## Read Alsa home files. @@ -142,3 +123,22 @@ interface(`alsa_read_home_files',` userdom_search_user_home_dirs($1) allow $1 alsa_home_t:file read_file_perms; ') + +######################################## +## +## Read Alsa lib files. +## +## +## +## Domain allowed access. +## +## +# +interface(`alsa_read_lib',` + gen_require(` + type alsa_var_lib_t; + ') + + files_search_var_lib($1) + read_files_pattern($1, alsa_var_lib_t, alsa_var_lib_t) +')