SELinux-Refpolicy Archive mirror
 help / color / mirror / Atom feed
From: Chris PeBenito <pebenito@ieee.org>
To: Russell Coker <russell@coker.com.au>
Cc: selinux-refpolicy@vger.kernel.org
Subject: Re: [PATCH] new version of filetrans patch
Date: Tue, 2 Feb 2021 13:28:59 -0500	[thread overview]
Message-ID: <4ba452f1-2dd6-810b-665e-f648e7bdc967@ieee.org> (raw)
In-Reply-To: <2243812.pyNZXzfhlh@liv>

On 2/2/21 9:42 AM, Russell Coker wrote:
> On Wednesday, 3 February 2021 12:49:07 AM AEDT Chris PeBenito wrote:
>>> Name changes suggested by Dominick and some more additions.
>>>
>>> Signed-off-by: Russell Coker <russell@coker.com.au>
>>
>> Merged, though I renamed some interfaces and dropped a block that didn't
>> apply since it's so close to the merge window closing.
> 
> +interface(`systemd_run_passwd_agent',`
> +       gen_require(`
> +               type systemd_passwd_agent_t, systemd_passwd_agent_exec_t;
> +       ')
> +
> +       domain_auto_transition_pattern($1, systemd_passwd_agent_exec_t,
> systemd_passwd_agent_t)
> +       allow systemd_passwd_agent_t $1:fd use;
> +       role $2 types systemd_passwd_agent_t;
> +')
> 
> Why did you change the above to the below?  It needs an auto trans.
> 
> interface(`systemd_run_passwd_agent',`
>          gen_require(`
>                  type systemd_passwd_agent_t, systemd_passwd_agent_exec_t;
>          ')
> 
>          domtrans_pattern($1, systemd_passwd_agent_exec_t,
> systemd_passwd_agent_t)
>          allow systemd_passwd_agent_t $1:fd use;
>          role $2 types systemd_passwd_agent_t;
> ')

domtrans_pattern() is automatic.

-- 
Chris PeBenito

  reply	other threads:[~2021-02-02 18:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01  4:57 [PATCH] new version of filetrans patch Russell Coker
2021-02-02 13:49 ` Chris PeBenito
2021-02-02 14:42   ` Russell Coker
2021-02-02 18:28     ` Chris PeBenito [this message]
2021-02-02 14:51   ` Russell Coker

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=4ba452f1-2dd6-810b-665e-f648e7bdc967@ieee.org \
    --to=pebenito@ieee.org \
    --cc=russell@coker.com.au \
    --cc=selinux-refpolicy@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).