From 4523a61425d30316c5e94f9f7f3d52314cb2af72 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Mon, 24 Apr 2023 18:57:04 +0100 Subject: [PATCH] feat(abs): add floppy disk to disk abs. --- apparmor.d/abstractions/disks-read | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apparmor.d/abstractions/disks-read b/apparmor.d/abstractions/disks-read index db54b9fb..96852672 100644 --- a/apparmor.d/abstractions/disks-read +++ b/apparmor.d/abstractions/disks-read @@ -1,5 +1,6 @@ # apparmor.d - Full set of apparmor profiles # Copyright (C) 2019-2021 Mikhail Morfikov +# Copyright (C) 2022-2023 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , @@ -58,6 +59,11 @@ @{sys}/devices/virtual/block/nbd[0-9]*/ r, @{sys}/devices/virtual/block/nbd[0-9]*/** r, + # Floppy disks + /dev/fd[0-9]* rk, + @{sys}/devices/platform/floppy.[0-9]*/block/fd[0-9]/ r, + @{sys}/devices/platform/floppy.[0-9]*/block/fd[0-9]/** r, + # Armbian / DietPi @{sys}/devices/platform/{soc,*.mmc}/**/block/mmcblk[0-9]*/{,mmcblk*/} r, @{sys}/devices/platform/{soc,*.mmc}/**/block/mmcblk[0-9]*/{,mmcblk*/}hidden r,