apparmor.d/apparmor.d/profiles-m-r/mono-sgen
REmerald e362aa9107 feat(profiles-m-r): vim syntax support
Add vim modeline instructing the editor to use the syntax plugin provided by apparmor.
2024-06-09 19:44:15 +03:00

47 lines
1 KiB
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/mono-sgen
profile mono-sgen @{exec_path} {
include <abstractions/base>
include <abstractions/audio-client>
include <abstractions/freedesktop.org>
include <abstractions/graphics>
include <abstractions/nameservice-strict>
include <abstractions/ssl_certs>
include <abstractions/wayland>
network inet dgram,
network inet6 dgram,
network inet stream,
network inet6 stream,
network netlink raw,
@{exec_path} mr,
@{bin}/ r,
/{usr/,}local/bin/ r,
@{bin}/* rPUx,
/usr/share/.mono/{,**} rw,
/etc/mono/{,**} r,
/etc/machine-id r,
owner @{user_config_dirs}/openra/{,**} rw,
owner @{user_config_dirs}/.mono/{,**} r,
owner @{tmp}/*.* rw,
owner @{tmp}/CASESENSITIVETEST* rw,
owner /dev/shm/mono.* rw,
owner @{PROC}/@{pid}/fd/ r,
include if exists <local/mono-sgen>
}