SELinux-Refpolicy Archive mirror
 help / color / mirror / Atom feed
From: Chris PeBenito <pebenito@ieee.org>
To: Russell Coker <russell@coker.com.au>, selinux-refpolicy@vger.kernel.org
Subject: Re: [PATCH] init dbus patch for GetDynamicUsers with systemd_use_nss() V2
Date: Fri, 25 Mar 2022 11:34:58 -0400	[thread overview]
Message-ID: <f132a599-ff96-4886-1cfc-445e1c90e9a6@ieee.org> (raw)
In-Reply-To: <Yg5gDOZBgu4T9noI@xev.coker.com.au>

On 2/17/22 09:47, Russell Coker wrote:
> Same as before but moved to the top of my patch list so it will apply to the
> git policy.
> 
> Should be ready to merge now.
> 
> Signed-off-by: Russell Coker <russell@coker.com.au>
> 
> Index: refpolicy-2.20220217/policy/modules/services/dictd.te
> ===================================================================
> --- refpolicy-2.20220217.orig/policy/modules/services/dictd.te
> +++ refpolicy-2.20220217/policy/modules/services/dictd.te
> @@ -79,3 +79,6 @@ optional_policy(`
>   	seutil_sigchld_newrole(dictd_t)
>   ')
>   
> +ifdef(`init_systemd',`
> +	systemd_use_nss(dictd_t)
> +')
> Index: refpolicy-2.20220217/policy/modules/services/postfix.te
> ===================================================================
> --- refpolicy-2.20220217.orig/policy/modules/services/postfix.te
> +++ refpolicy-2.20220217/policy/modules/services/postfix.te
> @@ -374,11 +374,7 @@ manage_files_pattern(postfix_bounce_t, p
>   manage_lnk_files_pattern(postfix_bounce_t, postfix_spool_bounce_t, postfix_spool_bounce_t)
>   
>   optional_policy(`
> -	init_dbus_chat(postfix_bounce_t)
> -')
> -
> -optional_policy(`
> -	dbus_system_bus_client(postfix_bounce_t)
> +	systemd_use_nss(postfix_bounce_t)
>   ')
>   
>   ########################################
> @@ -766,6 +762,10 @@ optional_policy(`
>   ')
>   
>   optional_policy(`
> +	systemd_use_nss(postfix_smtp_t)
> +')
> +
> +optional_policy(`
>   	dovecot_stream_connect(postfix_smtp_t)
>   ')
>   
> @@ -773,6 +773,10 @@ optional_policy(`
>   	milter_stream_connect_all(postfix_smtp_t)
>   ')
>   
> +optional_policy(`
> +	systemd_use_nss(postfix_showq_t)
> +')
> +
>   ########################################
>   #
>   # Smtpd local policy
> @@ -803,9 +807,7 @@ optional_policy(`
>   ')
>   
>   optional_policy(`
> -	dbus_send_system_bus(postfix_smtp_t)
> -	dbus_system_bus_client(postfix_smtp_t)
> -	init_dbus_chat(postfix_smtp_t)
> +	systemd_use_nss(postfix_smtpd_t)
>   ')
>   
>   optional_policy(`

Merged.


-- 
Chris PeBenito

      reply	other threads:[~2022-03-25 15:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-17 14:47 [PATCH] init dbus patch for GetDynamicUsers with systemd_use_nss() V2 Russell Coker
2022-03-25 15:34 ` Chris PeBenito [this message]

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=f132a599-ff96-4886-1cfc-445e1c90e9a6@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).