init: Move interface and whitespace change.

This commit is contained in:
Chris PeBenito 2017-02-25 08:39:58 -05:00
parent 5acda8076f
commit 1c5c70d4ab

View File

@ -1137,12 +1137,12 @@ interface(`init_var_lib_filetrans',`
######################################
## <summary>
## Allow search directory in the /run/systemd directory.
## Allow search directory in the /run/systemd directory.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`init_search_pids',`
@ -2258,6 +2258,24 @@ interface(`init_read_script_tmp_files',`
read_files_pattern($1, initrc_tmp_t, initrc_tmp_t)
')
########################################
## <summary>
## Read and write init script inherited temporary data.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`init_rw_inherited_script_tmp_files',`
gen_require(`
type initrc_tmp_t;
')
allow $1 initrc_tmp_t:file rw_inherited_file_perms;
')
########################################
## <summary>
## Read and write init script temporary data.
@ -2277,24 +2295,6 @@ interface(`init_rw_script_tmp_files',`
rw_files_pattern($1, initrc_tmp_t, initrc_tmp_t)
')
########################################
## <summary>
## Read and write init script inherited temporary data.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`init_rw_inherited_script_tmp_files',`
gen_require(`
type initrc_tmp_t;
')
allow $1 initrc_tmp_t:file rw_inherited_file_perms;
')
########################################
## <summary>
## Create files in a init script