mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-25 06:27:49 +01:00
29 lines
578 B
Text
29 lines
578 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Mikhail Morfikov
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}lib/gvfs/gvfsd
|
|
@{exec_path} += /usr/libexec/gvfsd
|
|
profile gvfsd @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
@{exec_path} mr,
|
|
|
|
/{usr/,}bin/{,ba,da}sh rix,
|
|
|
|
# Don't strip env here.
|
|
/{usr/,}lib/gvfs/gvfsd-* rPx,
|
|
/usr/libexec/gvfsd-* rPx,
|
|
|
|
/usr/share/gvfs/{,**} r,
|
|
|
|
owner @{run}/user/[0-9]*/gvfs/ rw,
|
|
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
|
|
include if exists <local/gvfsd>
|
|
}
|