Add vim modeline instructing the editor to use syntax plugin provided by apparmor. Continuation of #392 to keep the diff list relatively short.
34 lines
715 B
Text
34 lines
715 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2020-2021 Mikhail Morfikov
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/systemd/systemd-rfkill
|
|
profile systemd-rfkill @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/common/systemd>
|
|
|
|
capability net_admin,
|
|
capability sys_ptrace,
|
|
|
|
network netlink raw,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/var/lib/systemd/rfkill/* rw,
|
|
|
|
@{run}/systemd/notify rw,
|
|
@{run}/udev/data/+rfkill:* r,
|
|
|
|
@{sys}/devices/**/rfkill@{int}/{uevent,name} r,
|
|
|
|
/dev/rfkill rw,
|
|
|
|
include if exists <local/systemd-rfkill>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|