Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/
Date: Sat, 09 Apr 2022 19:28:53
Message-Id: 1649532510.502084fa7b0f2a22c1d6c2f25f3dae7a54008dee.perfinion@gentoo
1 commit: 502084fa7b0f2a22c1d6c2f25f3dae7a54008dee
2 Author: Kenton Groombridge <me <AT> concord <DOT> sh>
3 AuthorDate: Thu Mar 31 19:02:13 2022 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 19:28:30 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=502084fa
7
8 podman: add rules for systemd container units
9
10 Allow conmon to use init file descriptors and read-write init unix
11 stream sockets. This is in support of containers started as systemd
12 units.
13
14 Signed-off-by: Kenton Groombridge <me <AT> concord.sh>
15 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
16
17 policy/modules/services/podman.te | 3 +++
18 1 file changed, 3 insertions(+)
19
20 diff --git a/policy/modules/services/podman.te b/policy/modules/services/podman.te
21 index e5158720..f8600a7a 100644
22 --- a/policy/modules/services/podman.te
23 +++ b/policy/modules/services/podman.te
24 @@ -175,6 +175,9 @@ fs_watch_cgroup_files(podman_conmon_t)
25 fs_getattr_tmpfs(podman_conmon_t)
26 fs_getattr_xattr_fs(podman_conmon_t)
27
28 +init_rw_inherited_stream_socket(podman_conmon_t)
29 +init_use_fds(podman_conmon_t)
30 +
31 logging_send_syslog_msg(podman_conmon_t)
32
33 miscfiles_read_localization(podman_conmon_t)