mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 17:31:01 +01:00

Create a set of strict and non-strict abstractions, much like the existing dbus abstractions, for connecting to the fcitx bus. Signed-off-by: Jamie Strandboge <jamie@ubuntu.com> [tyhicks: Wrote commit message] Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Acked-by: John Johansen <john.johansen@canonical.com>
21 lines
712 B
Text
21 lines
712 B
Text
# vim:syntax=apparmor
|
|
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2016 Canonical Ltd.
|
|
#
|
|
# 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.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
|
|
#include <abstractions/dbus-session-strict>
|
|
|
|
dbus send
|
|
bus=fcitx
|
|
path=/org/freedesktop/DBus
|
|
interface=org.freedesktop.DBus
|
|
member={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName}
|
|
peer=(name=org.freedesktop.DBus),
|
|
|
|
owner @{HOME}/.config/fcitx/dbus/* r,
|