From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1365119-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 66E9E158087 for <garchives@archives.gentoo.org>; Mon, 7 Feb 2022 02:15:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 728B02BC01D; Mon, 7 Feb 2022 02:15:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DFA52BC01D for <gentoo-commits@lists.gentoo.org>; Mon, 7 Feb 2022 02:15:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7FE1A342D52 for <gentoo-commits@lists.gentoo.org>; Mon, 7 Feb 2022 02:15:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D25E62D4 for <gentoo-commits@lists.gentoo.org>; Mon, 7 Feb 2022 02:14:58 +0000 (UTC) From: "Jason Zaman" <perfinion@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" <perfinion@gentoo.org> Message-ID: <1644199790.08e6022ae0fe8d137a6946961c87ef9ef5208465.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/container.fc X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 08e6022ae0fe8d137a6946961c87ef9ef5208465 X-VCS-Branch: master Date: Mon, 7 Feb 2022 02:14:58 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f6027e77-f7e4-492e-ba46-7872ac3a735a X-Archives-Hash: 46348cc6af9647c3e9d4551f09d30a09 commit: 08e6022ae0fe8d137a6946961c87ef9ef5208465 Author: Laurent Bigonville <bigon <AT> bigon <DOT> be> AuthorDate: Wed Feb 2 11:34:02 2022 +0000 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> CommitDate: Mon Feb 7 02:09:50 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=08e6022a container: On Debian, runc is installed in /usr/sbin Signed-off-by: Laurent Bigonville <bigon <AT> bigon.be> Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> policy/modules/services/container.fc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/services/container.fc b/policy/modules/services/container.fc index ef5ad3b6..63f1537d 100644 --- a/policy/modules/services/container.fc +++ b/policy/modules/services/container.fc @@ -24,6 +24,8 @@ HOME_DIR/\.local/share/docker/volumes(/.*)? gen_context(system_u:object_r:conta /usr/lib/systemd/system/docker.* -- gen_context(system_u:object_r:container_unit_t,s0) /usr/lib/systemd/system/containerd.* -- gen_context(system_u:object_r:container_unit_t,s0) +/usr/sbin/runc -- gen_context(system_u:object_r:container_engine_exec_t,s0) + /etc/containers(/.*)? gen_context(system_u:object_r:container_config_t,s0) /etc/cni(/.*)? gen_context(system_u:object_r:container_config_t,s0) /etc/docker(/.*)? gen_context(system_u:object_r:container_config_t,s0)