43 lines
No EOL
1.1 KiB
Text
43 lines
No EOL
1.1 KiB
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}lib/ibus/ibus-extension-gtk3
|
|
profile ibus-extension-gtk3 @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/fontconfig-cache-write>
|
|
include <abstractions/fonts>
|
|
include <abstractions/gtk>
|
|
include <abstractions/nameservice-strict>
|
|
|
|
signal (receive) set=term peer=ibus-daemon,
|
|
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
network inet stream,
|
|
network inet6 stream,
|
|
network netlink raw,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
/usr/share/ibus/{,**} r,
|
|
/usr/share/icons/{,**} r,
|
|
/usr/share/X11/xkb/** r,
|
|
|
|
/var/lib/dbus/machine-id r,
|
|
|
|
owner @{user_config_dirs}/ibus/bus/{,[0-9a-f]*-unix-wayland-[0-9]} r,
|
|
|
|
include <abstractions/dconf>
|
|
owner @{run}/user/@{uid}/dconf/ rw,
|
|
owner @{run}/user/@{uid}/dconf/user rw,
|
|
/usr/share/dconf/profile/gdm r,
|
|
/var/lib/gdm/.config/dconf/user r,
|
|
|
|
include if exists <local/ibus-extension-gtk3>
|
|
} |