diff --git a/policy/modules/system/selinuxutil.if b/policy/modules/system/selinuxutil.if index 9bf41d4..fac0f22 100644 --- a/policy/modules/system/selinuxutil.if +++ b/policy/modules/system/selinuxutil.if @@ -654,8 +654,18 @@ interface(`seutil_rw_config',` ####################################### ## ## Create, read, write, and delete -## the general selinux configuration files. +## the general selinux configuration files. (Deprecated) ## +## +##

+## Create, read, write, and delete +## the general selinux configuration files. +##

+##

+## This interface has been deprecated, please +## use the seutil_manage_config() interface instead. +##

+##
## ## ## Domain allowed access. @@ -664,6 +674,23 @@ interface(`seutil_rw_config',` ## # interface(`seutil_manage_selinux_config',` + refpolicywarn(`$0($*) has been deprecated. Please use seutil_manage_config() instead.') + seutil_manage_config($1) +') + +####################################### +## +## Create, read, write, and delete +## the general selinux configuration files. +## +## +## +## Domain allowed access. +## +## +## +# +interface(`seutil_manage_config',` gen_require(` type selinux_config_t; ') diff --git a/policy/modules/system/selinuxutil.te b/policy/modules/system/selinuxutil.te index 13f3daf..03c5756 100644 --- a/policy/modules/system/selinuxutil.te +++ b/policy/modules/system/selinuxutil.te @@ -1,5 +1,5 @@ -policy_module(selinuxutil,1.7.2) +policy_module(selinuxutil,1.7.3) gen_require(` bool secure_mode;