From ca2469c470dcddbe898bcc5726dd3f10d0bae164 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 3 Sep 2023 20:27:32 +0100 Subject: [PATCH] feat(profiles): add aa-teardown --- apparmor.d/profiles-a-f/aa-teardown | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 apparmor.d/profiles-a-f/aa-teardown diff --git a/apparmor.d/profiles-a-f/aa-teardown b/apparmor.d/profiles-a-f/aa-teardown new file mode 100644 index 00000000..caaf70bb --- /dev/null +++ b/apparmor.d/profiles-a-f/aa-teardown @@ -0,0 +1,24 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2023 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/aa-teardown +profile aa-teardown @{exec_path} { + include + include + + capability dac_read_search, + + @{exec_path} mr, + + @{bin}/{,ba,da}sh rix, + @{lib}/apparmor/apparmor.systemd rPx, + + /dev/tty rw, + + include if exists +} \ No newline at end of file