* Unbreaking Debian 11 and partially Ubuntu 22.04 * pre-cleanup * pre-cleanup2 * Update im-launch * Update gnome-extension-ding * polishing * not yet * Update ubuntu.flags Allow GDM to boot. `No new privs` fix. * Update debian.flags Allow GDM to boot. `No new privs` fix. * Update CONTRIBUTING.md * fixes * reverting w * move setpriv to main.flags
62 lines
1.9 KiB
Text
62 lines
1.9 KiB
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}bin/spice-vdagent
|
|
profile spice-vdagent @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/audio>
|
|
include <abstractions/dbus-session-strict>
|
|
include <abstractions/dbus-accessibility-strict>
|
|
include <abstractions/fonts>
|
|
include <abstractions/gtk>
|
|
include <abstractions/X-strict>
|
|
|
|
dbus send bus=session path=/org/gnome/Mutter/DisplayConfig
|
|
interface=org.gnome.Mutter.DisplayConfig
|
|
member=GetCurrentState
|
|
peer=(name=:*, label=gnome-shell),
|
|
|
|
dbus send bus=session path=/org/a11y/bus
|
|
interface=org.a11y.Bus
|
|
member=GetAddress
|
|
peer=(name=org.a11y.Bus, label=at-spi-bus-launcher),
|
|
|
|
dbus receive bus=accessibility path=/org/a11y/atspi/registry
|
|
interface=org.a11y.atspi.Registry
|
|
member=EventListenerDeregistered
|
|
peer=(name=:*, label=at-spi2-registryd),
|
|
|
|
dbus send bus=accessibility path=/org/a11y/atspi/registry
|
|
interface=org.a11y.atspi.Registry
|
|
member=GetRegisteredEvents
|
|
peer=(name=org.a11y.atspi.Registry), # all peer's labels
|
|
|
|
dbus send bus=accessibility path=/org/a11y/atspi/registry/deviceeventcontroller
|
|
interface=org.a11y.atspi.DeviceEventController
|
|
member={GetKeystrokeListeners,GetDeviceEventListeners}
|
|
peer=(name=org.a11y.atspi.Registry), # all peer's labels
|
|
|
|
dbus send bus=accessibility path=/org/a11y/atspi/accessible/root
|
|
interface=org.a11y.atspi.Socket
|
|
member=Embed
|
|
peer=(name=org.a11y.atspi.Registry), # all peer's labels
|
|
|
|
@{exec_path} mr,
|
|
|
|
/etc/pipewire/client.conf r,
|
|
|
|
owner @{user_config_dirs}/user-dirs.dirs r,
|
|
|
|
@{run}/spice-vdagentd/spice-vdagent-sock rw,
|
|
|
|
@{sys}/devices/pci[0-9]*/**/{device,vendor} r,
|
|
|
|
/dev/dri/card[0-9]* rw,
|
|
|
|
include if exists <local/spice-vdagent>
|
|
}
|