feat(abs): add floppy disk to disk abs.

This commit is contained in:
Alexandre Pujol 2023-04-24 18:57:04 +01:00
parent 7ddba7230d
commit 4523a61425
Failed to generate hash of commit

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2022-2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -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,