28 lines
863 B
Text
28 lines
863 B
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/,}bin/xdg-dbus-proxy
|
|
profile xdg-dbus-proxy @{exec_path} flags=(attach_disconnected) {
|
|
include <abstractions/base>
|
|
|
|
@{exec_path} mr,
|
|
|
|
owner @{user_share_dirs}/gvfs-metadata/{,*} r,
|
|
|
|
owner @{run}/firejail/dbus/[0-9]*/[0-9]*-user rw,
|
|
owner @{run}/user/@{uid}/.dbus-proxy/{system,session,a11y}-bus-proxy-[0-9A-Z]* rw,
|
|
owner @{run}/user/@{uid}/webkitgtk/a11y-proxy-[0-9A-Z]* rw,
|
|
owner @{run}/user/@{uid}/webkitgtk/bus-proxy-[0-9A-Z]* rw,
|
|
owner @{run}/user/@{uid}/webkitgtk/dbus-proxy-[0-9A-Z]* rw,
|
|
|
|
@{sys}/devices/virtual/thermal/thermal_zone[0-9]/hwmon[0-9]/temp* r,
|
|
|
|
/dev/dri/card[0-9]* rw,
|
|
|
|
include if exists <local/xdg-dbus-proxy>
|
|
}
|