All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] another trivial
@ 2019-01-14 11:35 Russell Coker
  2019-01-14 22:44 ` Chris PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Coker @ 2019-01-14 11:35 UTC (permalink / raw)
  To: selinux-refpolicy@vger.kernel.org

This adds a hostnamed rule and also corrects an error in a previous patch I
sent (a copy/paste error).

Index: refpolicy-2.20180701/policy/modules/system/systemd.te
===================================================================
--- refpolicy-2.20180701.orig/policy/modules/system/systemd.te
+++ refpolicy-2.20180701/policy/modules/system/systemd.te
@@ -347,6 +347,10 @@ optional_policy(`
 	networkmanager_dbus_chat(systemd_hostnamed_t)
 ')
 
+optional_policy(`
+	unconfined_dbus_send(systemd_hostnamed_t)
+')
+
 #########################################
 #
 # hw local policy
Index: refpolicy-2.20180701/policy/modules/admin/usermanage.te
===================================================================
--- refpolicy-2.20180701.orig/policy/modules/admin/usermanage.te
+++ refpolicy-2.20180701/policy/modules/admin/usermanage.te
@@ -550,7 +550,7 @@ optional_policy(`
 ')
 
 optional_policy(`
-	apt_use_fds(groupadd_t)
+	apt_use_fds(useradd_t)
 ')
 
 optional_policy(`

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] another trivial
  2019-01-14 11:35 [PATCH] another trivial Russell Coker
@ 2019-01-14 22:44 ` Chris PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Chris PeBenito @ 2019-01-14 22:44 UTC (permalink / raw)
  To: Russell Coker, selinux-refpolicy@vger.kernel.org

On 1/14/19 6:35 AM, Russell Coker wrote:
> This adds a hostnamed rule and also corrects an error in a previous patch I
> sent (a copy/paste error).

I merged the copy-paste error, but the hostnamed one still has a 
question from the previous patch (subj: "some little stuff")

> Index: refpolicy-2.20180701/policy/modules/system/systemd.te
> ===================================================================
> --- refpolicy-2.20180701.orig/policy/modules/system/systemd.te
> +++ refpolicy-2.20180701/policy/modules/system/systemd.te
> @@ -347,6 +347,10 @@ optional_policy(`
>   	networkmanager_dbus_chat(systemd_hostnamed_t)
>   ')
>   
> +optional_policy(`
> +	unconfined_dbus_send(systemd_hostnamed_t)
> +')
> +
>   #########################################
>   #
>   # hw local policy
> Index: refpolicy-2.20180701/policy/modules/admin/usermanage.te
> ===================================================================
> --- refpolicy-2.20180701.orig/policy/modules/admin/usermanage.te
> +++ refpolicy-2.20180701/policy/modules/admin/usermanage.te
> @@ -550,7 +550,7 @@ optional_policy(`
>   ')
>   
>   optional_policy(`
> -	apt_use_fds(groupadd_t)
> +	apt_use_fds(useradd_t)
>   ')
>   
>   optional_policy(`
> 


-- 
Chris PeBenito

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-14 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-14 11:35 [PATCH] another trivial Russell Coker
2019-01-14 22:44 ` Chris PeBenito

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.