apparmor.d/apparmor.d/profiles-s-z/wsdd

35 lines
684 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} = @{bin}/wsdd
profile wsdd @{exec_path} {
include <abstractions/base>
include <abstractions/python>
include <abstractions/ssl_certs>
network inet dgram,
network inet stream,
network inet6 dgram,
network inet6 stream,
network netlink raw,
@{exec_path} mr,
@{bin}/env r,
@{bin}/python3.@{int} rix,
/etc/machine-id r,
owner /var/lib/libuuid/clock.txt rw,
owner @{run}/user/@{uid}/gvfsd/wsdd w,
include if exists <local/wsdd>
}
# vim:syntax=apparmor