SELinux-Refpolicy Archive on lore.kernel.org
 help / 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

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

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, back to index

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

SELinux-Refpolicy Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/selinux-refpolicy/0 selinux-refpolicy/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux-refpolicy selinux-refpolicy/ https://lore.kernel.org/selinux-refpolicy \
		selinux-refpolicy@vger.kernel.org selinux-refpolicy@archiver.kernel.org
	public-inbox-index selinux-refpolicy


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.selinux-refpolicy


AGPL code for this site: git clone https://public-inbox.org/ public-inbox