From: Jason Zaman <jason@perfinion.com>
To: selinux-refpolicy@vger.kernel.org
Cc: Jason Zaman <jason@perfinion.com>
Subject: [PATCH 3/3] sysnetwork: musl needs bind generic node for DNS
Date: Sun, 18 Nov 2018 19:37:38 +0800 [thread overview]
Message-ID: <20181118113738.29532-3-jason@perfinion.com> (raw)
In-Reply-To: <20181118113738.29532-1-jason@perfinion.com>
Signed-off-by: Jason Zaman <jason@perfinion.com>
---
policy/modules/system/sysnetwork.if | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/policy/modules/system/sysnetwork.if b/policy/modules/system/sysnetwork.if
index 316f4362..3685d1a3 100644
--- a/policy/modules/system/sysnetwork.if
+++ b/policy/modules/system/sysnetwork.if
@@ -765,6 +765,11 @@ interface(`sysnet_dns_name_resolve',`
systemd_read_machines($1)
')
')
+
+ ifdef(`libc_musl',`
+ corenet_tcp_bind_generic_node($1)
+ corenet_udp_bind_generic_node($1)
+ ')
')
########################################
--
2.18.1
next prev parent reply other threads:[~2018-11-18 11:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-18 11:37 [PATCH 1/3] build: add config for libc gnu and musl Jason Zaman
2018-11-18 11:37 ` [PATCH 2/3] libraries: ldconfig is a shell script on Gentoo musl libc Jason Zaman
2018-11-18 11:37 ` Jason Zaman [this message]
2018-11-22 13:39 ` [PATCH 1/3] build: add config for libc gnu and musl 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=20181118113738.29532-3-jason@perfinion.com \
--to=jason@perfinion.com \
--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 NNTP newsgroup(s).