apparmor.d/profiles/qt5ct

62 lines
1.6 KiB
Text
Raw Normal View History

# vim:syntax=apparmor
# ------------------------------------------------------------------
#
2021-01-10 16:35:07 +01:00
# Copyright (C) 2019-2021 Mikhail Morfikov
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
2020-12-10 22:33:39 +01:00
abi <abi/3.0>,
2020-12-10 22:33:39 +01:00
include <tunables/global>
@{exec_path} = /{usr/,}bin/qt5ct
profile qt5ct @{exec_path} {
2020-12-10 22:33:39 +01:00
include <abstractions/base>
include <abstractions/base>
include <abstractions/gtk>
include <abstractions/fonts>
include <abstractions/fontconfig-cache-read>
include <abstractions/freedesktop.org>
include <abstractions/dri-common>
include <abstractions/dri-enumerate>
include <abstractions/mesa>
include <abstractions/qt5-compose-cache-write>
include <abstractions/nameservice-strict>
@{exec_path} mr,
owner @{HOME}/.config/qt5ct/ rw,
2020-12-09 10:30:52 +01:00
owner @{HOME}/.config/qt5ct/** rwkl -> @{HOME}/.config/qt5ct/#[0-9]*[0-9],
owner @{HOME}/.config/fontconfig/ rw,
owner @{HOME}/.config/fontconfig/** rw,
owner @{HOME}/.config/fontconfig/fonts.conf.back rwl -> @{HOME}/.config/fontconfig/#[0-9]*[0-9],
owner @{HOME}/.config/kdeglobals r,
owner @{HOME}/.cache/ rw,
owner @{HOME}/.cache/icon-cache.kcache rw,
/usr/share/qt5ct/** r,
/usr/share/xsessions/{,*.desktop} r,
owner @{PROC}/@{pid}/cmdline r,
@{PROC}//sys/kernel/random/boot_id r,
/etc/X11/cursors/*.theme r,
/etc/machine-id r,
/var/lib/dbus/machine-id r,
/usr/share/hwdata/pnp.ids r,
/dev/shm/#[0-9]*[0-9] rw,
2020-12-10 22:33:39 +01:00
include if exists <local/qt5ct>
}