apparmor.d/apparmor.d/profiles-s-z/speech-dispatcher

37 lines
917 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}/speech-dispatcher
profile speech-dispatcher @{exec_path} {
include <abstractions/base>
include <abstractions/audio-client>
include <abstractions/bus-session>
include <abstractions/consoles>
include <abstractions/nameservice-strict>
network inet stream,
network inet6 stream,
@{exec_path} mr,
@{sh_path} ix,
@{lib}/speech-dispatcher/** r,
@{lib}/speech-dispatcher/speech-dispatcher-modules/* ix,
/etc/machine-id r,
/etc/speech-dispatcher/{,**} r,
owner @{run}/user/@{uid}/speech-dispatcher/ rw,
owner @{run}/user/@{uid}/speech-dispatcher/** rwk,
owner @{user_config_dirs}/speech-dispatcher/{,**} r,
include if exists <local/speech-dispatcher>
}
# vim:syntax=apparmor