feat(profile): add speech-dispatcher.

This commit is contained in:
Alexandre Pujol 2024-09-12 22:29:22 +01:00
parent ab7f45bc31
commit 7e63564c56
Failed to generate hash of commit
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,34 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/speech-dispatcher
profile speech-dispatcher @{exec_path} {
include <abstractions/base>
include <abstractions/audio-client>
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,
include if exists <local/speech-dispatcher>
}
# vim:syntax=apparmor

View file

@ -316,6 +316,7 @@ snapd complain
snapd-apparmor complain
snapd-core-fixup complain
snapshot complain
speech-dispatcher complain
ssservice complain
startplasma complain
startx attach_disconnected,complain