apparmor.d/apparmor.d/profiles-m-z/xdg-dbus-proxy
2021-04-12 13:33:24 +01:00

21 lines
522 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=(complain) {
include <abstractions/base>
@{exec_path} mr,
owner @{run}/firejail/dbus/[0-9]*/[0-9]*-user rw,
owner @{run}/user/@{pid}/webkitgtk/dbus-proxy-[0-9A-Z]* rw,
/dev/dri/card[0-9]* rw,
include if exists <local/xdg-dbus-proxy>
}