From 87dd65a52d85faa511df0f4fd4a9ce3e6f4fa908 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Thu, 8 Apr 2021 22:44:53 +0100 Subject: [PATCH] Add fsck-ext4 --- apparmor.d/profiles-a-l/fsck-ext4 | 20 ++++++++++++++++++++ profiles.manifest | 1 + 2 files changed, 21 insertions(+) create mode 100644 apparmor.d/profiles-a-l/fsck-ext4 diff --git a/apparmor.d/profiles-a-l/fsck-ext4 b/apparmor.d/profiles-a-l/fsck-ext4 new file mode 100644 index 000000000..aead4e49a --- /dev/null +++ b/apparmor.d/profiles-a-l/fsck-ext4 @@ -0,0 +1,20 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}{s,}bin/fsck.ext4 +profile fsck-ext4 @{exec_path} { + include + + @{exec_path} r, + + /{usr/,}bin/{,ba,da}sh rix, + + /etc/fstab r, + + include if exists +} diff --git a/profiles.manifest b/profiles.manifest index db4293c29..70a039c41 100644 --- a/profiles.manifest +++ b/profiles.manifest @@ -59,6 +59,7 @@ firefox-plugin-container freefall fsck fsck-btrfs +fsck-ext4 complain fsck-fat fuseiso fusermount