Rearrange alsa interfaces.

This commit is contained in:
Chris PeBenito 2010-09-03 11:56:10 -04:00
parent e411968dff
commit eca7eb3b47

View File

@ -105,25 +105,6 @@ interface(`alsa_manage_rw_config',`
')
')
########################################
## <summary>
## Read Alsa lib files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
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)
')
########################################
## <summary>
## 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;
')
########################################
## <summary>
## Read Alsa lib files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
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)
')