apparmor.d/apparmor.d/profiles-a-f/abook
REmerald 293217aee2
fix(profiles-a-f): move vim modeline
Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
2024-06-15 21:59:31 +01:00

35 lines
790 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Zane Zakraisek <zz@eng.utah.edu>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/abook
profile abook @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>
include <abstractions/user-download-strict>
@{exec_path} mr,
# Used for printing
@{sh_path} rix,
@{bin}/lp{,r} rPUx,
# Abook has built in support to launch mutt
@{bin}/mutt rPUx,
/usr/share/terminfo/** r,
/etc/inputrc r,
owner @{HOME}/.abook/ rw,
owner @{HOME}/.abook/abookrc r,
owner @{HOME}/.abook/addressbook* rw,
include if exists <local/abook>
}
# vim:syntax=apparmor