apparmor.d/apparmor.d/profiles-s-z/scrcpy
REmerald 102be49c8a feat(profiles-s-z): vim syntax support
Add vim modeline instructing the editor to use the syntax plugin provided by apparmor.

Continuation of #379, #380, #381, #390 to keep the diff list relatively short.
2024-06-15 17:36:23 +03:00

42 lines
914 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/scrcpy
profile scrcpy @{exec_path} {
include <abstractions/base>
include <abstractions/audio-client>
include <abstractions/consoles>
include <abstractions/dconf-write>
include <abstractions/desktop>
include <abstractions/graphics>
network inet stream,
network inet6 stream,
signal (send) set=(kill) peer=adb,
@{exec_path} mr,
@{bin}/adb rPx,
/usr/share/scrcpy/{,*} r,
/usr/share/icons/{,**} r,
/etc/machine-id r,
/var/lib/dbus/machine-id r,
owner @{user_config_dirs}/ibus/bus/ r,
owner @{user_config_dirs}/ibus/bus/@{hex32}-unix-{,wayland-}@{int} r,
deny @{user_share_dirs}/gvfs-metadata/* r,
include if exists <local/scrcpy>
}
# vim:syntax=apparmor