public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/icecream] epel10: selinux: allow the scheduler to read state via netlink route sockets
Date: Thu, 30 Jul 2026 15:15:52 GMT	[thread overview]
Message-ID: <178542455218.1.17107799864395267026.rpms-icecream-577fbad8a6af@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/icecream
            Branch : epel10
            Commit : 577fbad8a6af636527f7d278b729702a65dfdb3d
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2014-11-27T18:10:29+01:00
            Stats  : +6/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/icecream/c/577fbad8a6af636527f7d278b729702a65dfdb3d?branch=epel10

            Log:
            selinux: allow the scheduler to read state via netlink route sockets

The scheduler uses getifaddrs() to determine where to send broadcasts
to. This needs read netlink socket access.

Fixes: rhbz#1162321

---
diff --git a/icecream.spec b/icecream.spec
index c96adf8..cff70bb 100644
--- a/icecream.spec
+++ b/icecream.spec
@@ -4,7 +4,7 @@
 
 Name:		icecream
 Version:	1.0.1
-Release:	8.20140822git%{?dist}
+Release:	9.20140822git%{?dist}
 Summary:	Distributed compiler
 
 Group:		Development/Tools
@@ -255,6 +255,10 @@ exit 0
 %{_libdir}/pkgconfig/icecc.pc
 
 %changelog
+* Thu Nov 27 2014 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-9.20140822git
+- selinux: allow the scheduler to read state via netlink route sockets
+- Fixes: rhbz#1162321
+
 * Fri Sep 05 2014 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-8.20140822git
 - Update to current upstream git.
 - Drops bundled minilzo, use system lzo library. (#1131794, CVE-2014-4607)

diff --git a/icecream.te b/icecream.te
index e6e5487..97ba564 100644
--- a/icecream.te
+++ b/icecream.te
@@ -187,6 +187,7 @@ fs_getattr_all_fs(iceccd_untrusted_t)
 
 allow icecc_scheduler_t self:tcp_socket create_stream_socket_perms;
 allow icecc_scheduler_t self:udp_socket create_socket_perms;
+allow icecc_scheduler_t self:netlink_route_socket r_netlink_socket_perms;
 
 corenet_all_recvfrom_unlabeled(icecc_scheduler_t)
 corenet_all_recvfrom_netlabel(icecc_scheduler_t)

                 reply	other threads:[~2026-07-30 15:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178542455218.1.17107799864395267026.rpms-icecream-577fbad8a6af@fedoraproject.org \
    --to=mschmidt@redhat.com \
    --cc=git-commits@fedoraproject.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