mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
feat(tunable): add variables for some system-users.
This commit is contained in:
parent
1148b8faad
commit
af5171e39d
1 changed files with 23 additions and 0 deletions
23
apparmor.d/tunables/multiarch.d/systemd-users
Normal file
23
apparmor.d/tunables/multiarch.d/systemd-users
Normal file
|
@ -0,0 +1,23 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
# Define some extra paths for some commonly used system user
|
||||
|
||||
# Full path of the GDM configuration directories
|
||||
@{GDM_HOME}=/var/lib/gdm{,3}/
|
||||
@{gdm_cache_dirs}=@{GDM_HOME}/.cache/
|
||||
@{gdm_config_dirs}=@{GDM_HOME}/.config/
|
||||
@{gdm_share_dirs}=@{GDM_HOME}/.local/share/
|
||||
|
||||
# Full path of the SDDM configuration directories
|
||||
@{SDDM_HOME}=/var/lib/sddm/
|
||||
@{sddm_cache_dirs}=@{SDDM_HOME}/.cache/
|
||||
@{sddm_config_dirs}=@{SDDM_HOME}/.config/
|
||||
@{sddm_share_dirs}=@{SDDM_HOME}/.local/share/
|
||||
|
||||
# Full path of all DE configuration directories
|
||||
@{DESKTOP_HOME}=@{GDM_HOME} @{SDDM_HOME}
|
||||
@{desktop_cache_dirs}=@{DESKTOP_HOME}/.cache/
|
||||
@{desktop_config_dirs}=@{DESKTOP_HOME}/.config/
|
||||
@{desktop_share_dirs}=@{DESKTOP_HOME}/.local/share/
|
Loading…
Reference in a new issue