diff --git a/policy/modules/system/selinuxutil.if b/policy/modules/system/selinuxutil.if index 9bf41d40..fac0f227 100644 --- a/policy/modules/system/selinuxutil.if +++ b/policy/modules/system/selinuxutil.if @@ -651,6 +651,33 @@ interface(`seutil_rw_config',` rw_files_pattern($1,selinux_config_t,selinux_config_t) ') +####################################### +## +## Create, read, write, and delete +## 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. +## +## +## +# +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 @@ -663,7 +690,7 @@ interface(`seutil_rw_config',` ## ## # -interface(`seutil_manage_selinux_config',` +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 13f3daf4..03c57569 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;
+## Create, read, write, and delete +## the general selinux configuration files. +##
+## This interface has been deprecated, please +## use the seutil_manage_config() interface instead. +##