Add xdg-document-portal.

This commit is contained in:
Alexandre Pujol 2021-10-07 14:55:40 +01:00
parent 0d3b2bb4b2
commit be82c4cde8
Failed to generate hash of commit

View file

@ -0,0 +1,22 @@
# 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/,}lib/xdg-document-portal
profile xdg-document-portal @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
/{usr/,}bin/fusermount rPx,
owner @{run}/user/@{uid}/doc/ rw,
/dev/fuse rw,
include if exists <local/xdg-document-portal>
}