30 lines
688 B
Text
30 lines
688 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/{,gvfs/}gvfsd-wsdd
|
|
profile gvfsd-wsdd @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-session>
|
|
|
|
network netlink raw,
|
|
|
|
#aa:dbus own bus=session name=org.gtk.vfs.mountpoint_wsdd
|
|
#aa:dbus talk bus=session name=org.gtk.vfs.MountTracker label=gvfsd
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{bin}/env r,
|
|
@{bin}/wsdd rPx,
|
|
|
|
@{run}/mount/utab r,
|
|
owner @{run}/user/@{uid}/gvfsd/socket-@{rand8} rw,
|
|
|
|
include if exists <local/gvfsd-wsdd>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|