Add vim modeline instructing the editor to use syntax plugin provided by apparmor. Continuation of #392 to keep the diff list relatively short.
25 lines
529 B
Text
25 lines
529 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/zramctl
|
|
profile zramctl @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/consoles>
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{sys}/devices/virtual/block/zram@{int}/ r,
|
|
@{sys}/devices/virtual/block/zram@{int}/disksize r,
|
|
|
|
/dev/ r,
|
|
/dev/zram@{int} rw,
|
|
|
|
include if exists <local/zramctl>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|