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:
parent
6b5475c7f2
commit
eb480672f3
134 changed files with 281 additions and 148 deletions
|
|
@ -2,7 +2,6 @@
|
|||
# Extended user XDG directories definition
|
||||
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# vim:syntax=apparmor
|
||||
|
||||
# To allow extended personalisation by the user without breaking everything.
|
||||
# All apparmor profiles should always use the variables defined here.
|
||||
|
|
@ -66,3 +65,5 @@
|
|||
@{user_sync_dirs}=@{HOME}/@{XDG_SYNC_DIR} @{MOUNTS}/*/@{XDG_SYNC_DIR}
|
||||
@{user_torrents_dirs}=@{HOME}/@{XDG_TORRENTS_DIR} @{MOUNTS}/@{XDG_TORRENTS_DIR}
|
||||
@{user_vm_dirs}=@{HOME}/@{XDG_VM_DIR} @{MOUNTS}/@{XDG_VM_DIR}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
@ -2,7 +2,6 @@
|
|||
# Copyright (C) 2012-2023 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# vim:syntax=apparmor
|
||||
|
||||
# Whonix aliases copied here as they conflict with apparmor.d
|
||||
# Note: only installed on Whonix
|
||||
|
|
@ -71,3 +70,5 @@ alias /etc/timezone -> /etc/timezone.anondist-orig,
|
|||
alias /etc/timezone -> /etc/timezone.anondist,
|
||||
alias /etc/tor/torrc -> /etc/tor/torrc.anondist-orig,
|
||||
alias /etc/tor/torrc -> /etc/tor/torrc.anondist,
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
# 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
|
||||
|
||||
# Define some paths for some commonly used programs
|
||||
|
||||
|
|
@ -54,3 +53,5 @@
|
|||
# Office suites
|
||||
@{offices_path} = @{bin}/@{offices} @{lib}/libreoffice/program/soffice
|
||||
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
# 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
|
||||
|
||||
# Define some variables for some commonly used profile. They may be used in
|
||||
# other profiles peer label.
|
||||
|
|
@ -11,3 +10,5 @@
|
|||
# Name of the systemd profiles. Can be `unconfined` or `systemd`, `systemd-user`
|
||||
@{p_systemd}=unconfined
|
||||
@{p_systemd_user}=unconfined
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
# 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
|
||||
|
||||
# Define some some commonly used programs. This is not an exhaustive list.
|
||||
# It is meant to label programs to easily provide access in profiles.
|
||||
|
|
@ -69,3 +68,5 @@
|
|||
|
||||
# Office suites
|
||||
@{offices} = libreoffice soffice
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
# 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
|
||||
|
||||
# To allow extended personalisation without breaking everything.
|
||||
# All apparmor profiles should always use the variables defined here.
|
||||
|
|
@ -89,3 +88,5 @@
|
|||
|
||||
# OpenSUSE does not have the same multiarch structure
|
||||
@{multiarch}+=*-suse-linux* #aa:only opensuse
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
# Define some extra paths for some commonly used system user
|
||||
|
||||
|
|
@ -32,3 +31,5 @@
|
|||
@{desktop_config_dirs}=@{gdm_config_dirs} @{sddm_config_dirs} @{lightdm_config_dirs}
|
||||
@{desktop_local_dirs}=@{gdm_local_dirs} @{sddm_local_dirs} @{lightdm_local_dirs}
|
||||
@{desktop_share_dirs}=@{gdm_share_dirs} @{sddm_share_dirs} @{lightdm_share_dirs}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
# 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
|
||||
|
||||
# To allow extended personalisation by the user without breaking everything.
|
||||
# All apparmor profiles should always use the variables defined here.
|
||||
|
|
@ -25,3 +24,5 @@
|
|||
@{user_vm_shares}=@{HOME}/@{XDG_VM_SHARES_DIR} @{MOUNTS}/@{XDG_VM_SHARES_DIR}
|
||||
|
||||
include if exists <tunables/xdg-user-dirs.d/apparmor.d.d>
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue