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: Mon, 07 Feb 2022 02:15:04
Message-Id: 1644199790.08e6022ae0fe8d137a6946961c87ef9ef5208465.perfinion@gentoo
1 commit: 08e6022ae0fe8d137a6946961c87ef9ef5208465
2 Author: Laurent Bigonville <bigon <AT> bigon <DOT> be>
3 AuthorDate: Wed Feb 2 11:34:02 2022 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 02:09:50 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=08e6022a
7
8 container: On Debian, runc is installed in /usr/sbin
9
10 Signed-off-by: Laurent Bigonville <bigon <AT> bigon.be>
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 policy/modules/services/container.fc | 2 ++
14 1 file changed, 2 insertions(+)
15
16 diff --git a/policy/modules/services/container.fc b/policy/modules/services/container.fc
17 index ef5ad3b6..63f1537d 100644
18 --- a/policy/modules/services/container.fc
19 +++ b/policy/modules/services/container.fc
20 @@ -24,6 +24,8 @@ HOME_DIR/\.local/share/docker/volumes(/.*)? gen_context(system_u:object_r:conta
21 /usr/lib/systemd/system/docker.* -- gen_context(system_u:object_r:container_unit_t,s0)
22 /usr/lib/systemd/system/containerd.* -- gen_context(system_u:object_r:container_unit_t,s0)
23
24 +/usr/sbin/runc -- gen_context(system_u:object_r:container_engine_exec_t,s0)
25 +
26 /etc/containers(/.*)? gen_context(system_u:object_r:container_config_t,s0)
27 /etc/cni(/.*)? gen_context(system_u:object_r:container_config_t,s0)
28 /etc/docker(/.*)? gen_context(system_u:object_r:container_config_t,s0)