mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-29 14:25:12 +01:00
feat(kde): improve support for kde.
This commit is contained in:
parent
1424fb5493
commit
a79f03f038
9 changed files with 18 additions and 13 deletions
|
@ -40,6 +40,7 @@ profile akonadi_archivemail_agent @{exec_path} {
|
|||
owner @{user_config_dirs}/emailidentities.lock rwk,
|
||||
owner @{user_config_dirs}/emailidentities* rwl,
|
||||
owner @{user_config_dirs}/kmail2rc r,
|
||||
owner @{user_config_dirs}/QtProject/qtlogging.ini r,
|
||||
|
||||
owner @{user_config_dirs}/kdedefaults/kdeglobals r,
|
||||
owner @{user_config_dirs}/kdedefaults/kwinrc r,
|
||||
|
|
|
@ -22,6 +22,7 @@ profile akonadi_contacts_resource @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
/usr/share/hwdata/*.ids r,
|
||||
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
|
||||
|
||||
/etc/xdg/kdeglobals r,
|
||||
/etc/xdg/kwinrc r,
|
||||
|
|
|
@ -21,7 +21,7 @@ profile akonadi_maildir_resource @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/akonadi/plugins/serializer/*.desktop r,
|
||||
/usr/share/akonadi/plugins/serializer/{,*.desktop} r,
|
||||
/usr/share/hwdata/*.ids r,
|
||||
/usr/share/mime/{,**} r,
|
||||
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
|
||||
|
|
|
@ -21,7 +21,7 @@ profile akonadi_newmailnotifier_agent @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/akonadi/plugins/serializer/*.desktop r,
|
||||
/usr/share/akonadi/plugins/serializer/{,*.desktop} r,
|
||||
/usr/share/hwdata/*.ids r,
|
||||
/usr/share/mime/{,**} r,
|
||||
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
|
||||
|
@ -46,7 +46,7 @@ profile akonadi_newmailnotifier_agent @{exec_path} {
|
|||
owner @{user_config_dirs}/kmail2rc r,
|
||||
owner @{user_config_dirs}/kwinrc r,
|
||||
owner @{user_config_dirs}/specialmailcollectionsrc r,
|
||||
|
||||
|
||||
@{PROC}/sys/kernel/core_pattern r,
|
||||
@{PROC}/sys/kernel/random/boot_id r,
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ profile dbus-daemon @{exec_path} flags=(attach_disconnected) {
|
|||
@{lib}/dbus-1*/dbus-daemon-launch-helper rPx,
|
||||
@{lib}/gnome-shell/gnome-shell-calendar-server rPx,
|
||||
@{lib}/ibus/ibus-* rPx,
|
||||
@{lib}/kauth/* rPx,
|
||||
@{lib}/kauth/{,libexec/}* rPx,
|
||||
@{lib}/kf5/kiod5 rPUx,
|
||||
@{lib}/telepathy/mission-control-5 rPx,
|
||||
@{lib}/xfce[0-9]/xfconf/xfconfd rPx,
|
||||
|
|
|
@ -20,7 +20,7 @@ profile dbus-daemon-launch-helper @{exec_path} {
|
|||
|
||||
@{lib}/{,cups-pk-helper/}cups-pk-helper-mechanism rPx,
|
||||
@{lib}/@{multiarch}/cups-pk-helper-mechanism rPx,
|
||||
@{lib}/kauth/* rPx,
|
||||
@{lib}/kauth/{,libexec/}* rPx,
|
||||
@{lib}/language-selector/ls-dbus-backend rPx,
|
||||
@{lib}/software-properties/software-properties-dbus rPx,
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ include <tunables/global>
|
|||
@{exec_path} = @{bin}/dbus-run-session
|
||||
profile dbus-run-session @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dconf-write>
|
||||
# include <abstractions/dconf-write>
|
||||
|
||||
signal (receive) set=(term, kill, hup) peer=gdm*,
|
||||
signal (send) set=term peer=dbus-daemon,
|
||||
|
@ -22,9 +22,9 @@ profile dbus-run-session @{exec_path} {
|
|||
@{bin}/gsettings rPx,
|
||||
@{lib}/gnome-session-binary rPx,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
/usr/share/gdm/greeter-dconf-defaults r,
|
||||
/usr/share/dconf/profile/gdm r,
|
||||
# /usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
# /usr/share/gdm/greeter-dconf-defaults r,
|
||||
# /usr/share/dconf/profile/gdm r,
|
||||
|
||||
/var/lib/gdm{3,}/.config/dconf/user r,
|
||||
/var/lib/gdm{3,}/.cache/dconf/ rw,
|
||||
|
|
|
@ -30,11 +30,8 @@ profile ibus-dconf @{exec_path} flags=(attach_disconnected) {
|
|||
/usr/share/gdm/greeter-dconf-defaults r,
|
||||
/usr/share/dconf/profile/gdm r,
|
||||
|
||||
/etc/dconf/profile/ibus r,
|
||||
/etc/dconf/db/ibus r,
|
||||
|
||||
owner @{user_config_dirs}/ibus/bus/{,@{hex}-unix-wayland-[0-9]*} r,
|
||||
owner @{user_config_dirs}/ibus/bus/@{hex}-unix-[0-9]* r,
|
||||
/etc/dconf/profile/ibus r,
|
||||
|
||||
/var/lib/gdm{3,}/.config/ibus/bus/{,@{hex}-unix-wayland-[0-9]*} r,
|
||||
/var/lib/gdm{3,}/.config/ibus/bus/@{hex}-unix-[0-9]* r,
|
||||
|
@ -44,6 +41,9 @@ profile ibus-dconf @{exec_path} flags=(attach_disconnected) {
|
|||
/var/lib/gdm{3,}/.config/dconf/user rw,
|
||||
/var/lib/gdm{3,}/greeter-dconf-defaults r,
|
||||
|
||||
owner @{user_config_dirs}/ibus/bus/{,@{hex}-unix-wayland-[0-9]*} r,
|
||||
owner @{user_config_dirs}/ibus/bus/@{hex}-unix-[0-9]* r,
|
||||
|
||||
owner /dev/tty[0-9]* rw,
|
||||
|
||||
include if exists <local/ibus-dconf>
|
||||
|
|
|
@ -13,5 +13,8 @@ profile ibus-engine-table @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/{,ba,da}sh rix,
|
||||
@{bin}/python3.[0-9]* rix,
|
||||
|
||||
include if exists <local/ibus-engine-table>
|
||||
}
|
Loading…
Reference in a new issue