diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if index 2e2af528be..008b6ec719 100644 --- a/policy/modules/kernel/files.if +++ b/policy/modules/kernel/files.if @@ -1765,8 +1765,12 @@ interface(`files_relabel_all_files',` relabel_chr_files_pattern($1, { file_type $2 }, { file_type $2 }) # satisfy the assertions: - seutil_relabelto_bin_policy($1) - auth_relabelto_shadow($1) + optional_policy(` + seutil_relabelto_bin_policy($1) + ') + optional_policy(` + auth_relabelto_shadow($1) + ') ') ########################################