feat(abstractions): vim syntax highlighting

Add vim syntax support. See man apparmor.vim(5)
This commit is contained in:
REmerald 2024-06-09 16:17:55 +03:00 committed by Alexandre Pujol
parent 07f3ea979a
commit 1206692e51
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
126 changed files with 126 additions and 0 deletions

View file

@ -1,6 +1,7 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
# LOGPROF-SUGGEST: no
# Common rules for applications sandboxed using bwrap.

View file

@ -2,6 +2,7 @@
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
/usr/share/dpkg/cputable r,
/usr/share/dpkg/tupletable r,

View file

@ -1,6 +1,7 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
# A minimal set of rules for sandboxed programs using bwrap.
# A profile using this abstraction still needs to set:

View file

@ -2,6 +2,7 @@
# Copyright (C) 2022 Mikhail Morfikov
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
# This abstraction is for chromium based application. Chromium based browsers
# need to use abstractions/chromium instead.

View file

@ -1,6 +1,7 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
# Minimal set of rules for all electron based UI application. It works as a
# *function* and requires some variables to be provided as *arguments* and set

View file

@ -1,6 +1,7 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
# Minimal set of rules for all gnome based UI application.

View file

@ -2,6 +2,7 @@
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
ptrace (read) peer=@{p_systemd},