35 lines
No EOL
976 B
Text
35 lines
No EOL
976 B
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} = @{lib}/update-notifier/livepatch-notification
|
|
profile livepatch-notification @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dbus-accessibility-strict>
|
|
include <abstractions/dbus-session-strict>
|
|
include <abstractions/dconf-write>
|
|
include <abstractions/gtk>
|
|
include <abstractions/wayland>
|
|
|
|
dbus send bus=session path=/org/a11y/bus
|
|
interface=org.a11y.Bus
|
|
member=GetAddress
|
|
peer=(name=org.a11y.Bus, label=at-spi-bus-launcher),
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
/usr/share/icons/{,**} r,
|
|
/usr/share/X11/{,**} r,
|
|
|
|
owner @{run}/user/@{uid}/at-spi/bus rw,
|
|
owner @{run}/user/@{uid}/bus rw,
|
|
|
|
@{run}/user/@{uid}/gdm/Xauthority r,
|
|
|
|
include if exists <local/livepatch-notification>
|
|
} |