trunk: deprecate seutil_manage_selinux_config() in favor of correctly named seutil_manage_config().

This commit is contained in:
Chris PeBenito 2007-11-16 15:39:55 +00:00
parent 389ad7b48d
commit 53da70cdaa
2 changed files with 29 additions and 2 deletions

View File

@ -651,6 +651,33 @@ interface(`seutil_rw_config',`
rw_files_pattern($1,selinux_config_t,selinux_config_t) rw_files_pattern($1,selinux_config_t,selinux_config_t)
') ')
#######################################
## <summary>
## Create, read, write, and delete
## the general selinux configuration files. (Deprecated)
## </summary>
## <desc>
## <p>
## Create, read, write, and delete
## the general selinux configuration files.
## </p>
## <p>
## This interface has been deprecated, please
## use the seutil_manage_config() interface instead.
## </p>
## </desc>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
## <rolecap/>
#
interface(`seutil_manage_selinux_config',`
refpolicywarn(`$0($*) has been deprecated. Please use seutil_manage_config() instead.')
seutil_manage_config($1)
')
####################################### #######################################
## <summary> ## <summary>
## Create, read, write, and delete ## Create, read, write, and delete
@ -663,7 +690,7 @@ interface(`seutil_rw_config',`
## </param> ## </param>
## <rolecap/> ## <rolecap/>
# #
interface(`seutil_manage_selinux_config',` interface(`seutil_manage_config',`
gen_require(` gen_require(`
type selinux_config_t; type selinux_config_t;
') ')

View File

@ -1,5 +1,5 @@
policy_module(selinuxutil,1.7.2) policy_module(selinuxutil,1.7.3)
gen_require(` gen_require(`
bool secure_mode; bool secure_mode;