Rearrange alsa interfaces.
This commit is contained in:
parent
e411968dff
commit
eca7eb3b47
|
@ -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>
|
## <summary>
|
||||||
## Read Alsa home files.
|
## Read Alsa home files.
|
||||||
|
@ -142,3 +123,22 @@ interface(`alsa_read_home_files',`
|
||||||
userdom_search_user_home_dirs($1)
|
userdom_search_user_home_dirs($1)
|
||||||
allow $1 alsa_home_t:file read_file_perms;
|
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)
|
||||||
|
')
|
||||||
|
|
Loading…
Reference in New Issue