diff --git a/apparmor.d/profiles-m-z/xdg-dbus-proxy b/apparmor.d/profiles-m-z/xdg-dbus-proxy new file mode 100644 index 000000000..0e4324912 --- /dev/null +++ b/apparmor.d/profiles-m-z/xdg-dbus-proxy @@ -0,0 +1,18 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/xdg-dbus-proxy +profile xdg-dbus-proxy @{exec_path} flags=(complain) { + include + + @{exec_path} r, + + owner @{run}/firejail/dbus/[0-9]*/[0-9]*-user rw, + + include if exists +}