From: aranea@aixah.de (Luis Ressel) Date: Wed, 15 Nov 2017 08:10:01 +0100 Subject: [refpolicy] [PATCH] mta: Create mta_list_mail_home_rw() interface Message-ID: <20171115071001.2024-1-aranea@aixah.de> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com --- mta.if | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/mta.if b/mta.if index 2bff433..fe2007e 100644 --- a/mta.if +++ b/mta.if @@ -232,6 +232,24 @@ interface(`mta_home_filetrans_mail_home',` userdom_user_home_dir_filetrans($1, mail_home_t, $2, $3) ') +####################################### +## +## List the contents of mail home rw dirs. +## +## +## +## Domain allowed access. +## +## +# +interface(`mta_list_mail_home_rw',` + gen_require(` + type mail_home_rw_t; + ') + + allow $1 mail_home_rw_t:dir list_dir_perms; +') + ####################################### ## ## Create, read, write, and delete -- 2.15.0