From 513abeb59df6fa1493473733df0195a460637434 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 14 Oct 2022 22:12:46 +0100 Subject: [PATCH] refactor: move child profiles into children group. --- apparmor.d/groups/{apt => children}/child-dpkg | 4 ++++ apparmor.d/groups/{apt => children}/child-dpkg-divert | 0 2 files changed, 4 insertions(+) rename apparmor.d/groups/{apt => children}/child-dpkg (87%) rename apparmor.d/groups/{apt => children}/child-dpkg-divert (100%) diff --git a/apparmor.d/groups/apt/child-dpkg b/apparmor.d/groups/children/child-dpkg similarity index 87% rename from apparmor.d/groups/apt/child-dpkg rename to apparmor.d/groups/children/child-dpkg index 51ba71c51..99bd2d172 100644 --- a/apparmor.d/groups/apt/child-dpkg +++ b/apparmor.d/groups/children/child-dpkg @@ -2,6 +2,10 @@ # Copyright (C) 2019-2021 Mikhail Morfikov # SPDX-License-Identifier: GPL-2.0-only +# Note: This profile does not specify an attachment path because it is +# intended to be used only via "Px -> child-dpkg" exec transitions +# from other profiles. + # Note: This profile does not specify an attachment path because it is # intended to be used only via "Px -> child-dpkg" exec transitions from # other profiles. We want to confine the dpkg(1) utility when it diff --git a/apparmor.d/groups/apt/child-dpkg-divert b/apparmor.d/groups/children/child-dpkg-divert similarity index 100% rename from apparmor.d/groups/apt/child-dpkg-divert rename to apparmor.d/groups/children/child-dpkg-divert