32 lines
790 B
Text
32 lines
790 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2018-2021 Mikhail Morfikov
|
|
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/xfce[0-9]/xfconf/xfconfd
|
|
@{exec_path} += @{lib}/@{multiarch}/xfce[0-9]/xfconf/xfconfd
|
|
profile xfconfd @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
@{exec_path} mr,
|
|
|
|
/etc/xdg/xfce4/xfconf/*/*.xml r,
|
|
|
|
owner @{HOME}/ r,
|
|
|
|
owner @{user_cache_dirs}/ r,
|
|
owner @{user_config_dirs}/ r,
|
|
owner @{user_config_dirs}/xfce4/ r,
|
|
owner @{user_config_dirs}/xfce4/xfconf/*/*.xml{,.new} rw,
|
|
owner @{user_share_dirs}/ r,
|
|
|
|
# file_inherit
|
|
owner /dev/tty@{int} rw,
|
|
owner @{HOME}/.xsession-errors w,
|
|
|
|
include if exists <local/xfconfd>
|
|
}
|