nx_filetrans_named_content(unconfined_domain_type)
')
+optional_policy(`
+ postfix_filetrans_named_content(unconfined_domain_type)
+')
+
optional_policy(`
pulseaudio_filetrans_home_content(unconfined_domain_type)
pulseaudio_filetrans_admin_home_content(unconfined_domain_type)
')
files_search_etc($1)
- filetrans_pattern($1, postfix_etc_t, $2, $3)
+ filetrans_pattern($1, postfix_etc_t, $2, $3, $4)
')
########################################
admin_pattern($1, postfix_prng_t)
admin_pattern($1, postfix_public_t)
+
+ postfix_filetrans_named_content($1)
')
########################################
postfix_domtrans_postdrop($1)
role $2 types postfix_postdrop_t;
')
+
+########################################
+## <summary>
+## Transition to postfix named content
+## </summary>
+## <param name="domain">
+## <summary>
+## Domain allowed access.
+## </summary>
+## </param>
+#
+interface(`postfix_filetrans_named_content',`
+ gen_require(`
+ type postfix_exec_t;
+ type postfix_prng_t;
+ ')
+
+ postfix_config_filetrans($1, postfix_exec_t, file, "postfix-script")
+ postfix_config_filetrans($1, postfix_prng_t, file, "prng_exch")
+')