mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-25 14:36:33 +01:00
feat(profile): add speech-dispatcher.
This commit is contained in:
parent
ab7f45bc31
commit
7e63564c56
2 changed files with 35 additions and 0 deletions
34
apparmor.d/profiles-s-z/speech-dispatcher
Normal file
34
apparmor.d/profiles-s-z/speech-dispatcher
Normal 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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue