diff --git a/apparmor.d/profiles-a-f/aa-enabled b/apparmor.d/profiles-a-f/aa-enabled new file mode 100644 index 00000000..0fc8180e --- /dev/null +++ b/apparmor.d/profiles-a-f/aa-enabled @@ -0,0 +1,20 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2022 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/aa-enabled +profile aa-enabled @{exec_path} { + include + + @{exec_path} mr, + + @{sys}/module/apparmor/parameters/enabled r, + + owner @{PROC}/@{pid}/mounts r, + + include if exists +} \ No newline at end of file