apparmor.d/apparmor.d/profiles-a-f/aspell
2021-09-15 16:55:27 +01:00

24 lines
481 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/aspell
profile aspell @{exec_path} flags=(complain) {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} mr,
/usr/share/aspell/{,*} r,
/usr/lib/aspell/{,*} r,
/var/lib/aspell/{,*} r,
/var/lib/aspell/*.rws rw,
include if exists <local/aspell>
}