From: aranea@aixah.de (Luis Ressel) Date: Wed, 15 Nov 2017 08:10:15 +0100 Subject: [refpolicy] [PATCH 2/2] locallogin: Allow local_login_t to list Maildirs in home directories In-Reply-To: <20171115071015.2168-1-aranea@aixah.de> References: <20171115071015.2168-1-aranea@aixah.de> Message-ID: <20171115071015.2168-2-aranea@aixah.de> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com --- policy/modules/system/locallogin.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/system/locallogin.te b/policy/modules/system/locallogin.te index ff8df49df..8a0660320 100644 --- a/policy/modules/system/locallogin.te +++ b/policy/modules/system/locallogin.te @@ -183,6 +183,9 @@ optional_policy(` optional_policy(` # Search for mail spool file. mta_getattr_spool(local_login_t) + + # List contents of ~/Maildir + mta_list_mail_home_rw(local_login_t) ') optional_policy(` -- 2.15.0