fix(abstractions, tunables): move vim modeline

Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
This commit is contained in:
REmerald 2024-06-15 16:52:31 +03:00 committed by Alexandre Pujol
parent 6b5475c7f2
commit eb480672f3
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
134 changed files with 281 additions and 148 deletions

View file

@ -1,7 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
# Full set of rules for all chromium based browsers. It works as a *function*
# and requires some variables to be provided as *arguments* and set in the
@ -210,3 +209,5 @@
deny @{user_share_dirs}/gvfs-metadata/* r,
include if exists <abstractions/app/chromium.d>
# vim:syntax=apparmor

View file

@ -1,7 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Zane Zakraisek <zz@eng.utah.edu>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
include <abstractions/nameservice-strict>
@ -27,3 +26,5 @@
owner @{user_config_dirs}/vim/{,**} r,
include if exists <abstractions/app/editor.d>
# vim:syntax=apparmor

View file

@ -1,7 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
# Full set of rules for all firefox based browsers. It works as a *function*
# and requires some variables to be provided as *arguments* and set in the
@ -159,3 +158,5 @@
deny @{run}/user/@{uid}/gnome-shell-disable-extensions w,
include if exists <abstractions/app/firefox.d>
# vim:syntax=apparmor

View file

@ -1,7 +1,6 @@
# 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
# Full set of rules for child-open-* profiles.
@ -14,3 +13,5 @@
/dev/tty rw,
include if exists <abstractions/app/open.d>
# vim:syntax=apparmor

View file

@ -1,7 +1,6 @@
# 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 pgrep.
@ -24,3 +23,5 @@
@{PROC}/uptime r,
include if exists <abstractions/app/pgrep.d>
# vim:syntax=apparmor

View file

@ -1,7 +1,6 @@
# 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 sudo. Interactive sudo need more rules.
@ -69,3 +68,5 @@
deny @{user_share_dirs}/gvfs-metadata/* r,
include if exists <abstractions/app/sudo.d>
# vim:syntax=apparmor

View file

@ -1,7 +1,6 @@
# 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
include <abstractions/bus-system>
include <abstractions/consoles>
@ -27,3 +26,5 @@
owner @{PROC}/@{pid}/stat r,
include if exists <abstractions/app/systemctl.d>
# vim:syntax=apparmor