From: russell@coker.com.au (Russell Coker)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 2/2] locallogin: Allow local_login_t to list Maildirs in home directories
Date: Wed, 15 Nov 2017 20:40:54 +1100 [thread overview]
Message-ID: <3758522.bh2Ol2tcTW@xev> (raw)
In-Reply-To: <20171115071015.2168-2-aranea@aixah.de>
Why is that needed? Is there some pam module or something that is displaying
mail status?
On Wednesday, 15 November 2017 8:10:15 AM AEDT Luis Ressel via refpolicy
wrote:
> ---
> 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(`
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
next prev parent reply other threads:[~2017-11-15 9:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-15 7:10 [refpolicy] [PATCH 1/2] locallogin: Grant local_login_t the dac_read_search capability Luis Ressel
2017-11-15 7:10 ` [refpolicy] [PATCH 2/2] locallogin: Allow local_login_t to list Maildirs in home directories Luis Ressel
2017-11-15 9:40 ` Russell Coker [this message]
2017-11-15 19:58 ` Luis Ressel
2017-11-15 20:00 ` Dominick Grift
2017-11-15 20:25 ` Dominick Grift
2017-11-18 10:55 ` [refpolicy] [PATCH 1/2] locallogin: Grant local_login_t the dac_read_search capability Chris PeBenito
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3758522.bh2Ol2tcTW@xev \
--to=russell@coker.com.au \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.