feat(profile): add initial profile for decibels.
This commit is contained in:
parent
f9f4097164
commit
efba6e164e
2 changed files with 38 additions and 0 deletions
37
apparmor.d/groups/gnome/decibels
Normal file
37
apparmor.d/groups/gnome/decibels
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/4.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/decibels @{bin}/org.gnome.Decibels
|
||||
profile decibels @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/audio-client>
|
||||
include <abstractions/common/gnome>
|
||||
include <abstractions/gstreamer>
|
||||
include <abstractions/user-download-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/gjs-console rix,
|
||||
|
||||
@{open_path} rPx -> child-open-help,
|
||||
|
||||
/usr/share/org.gnome.Decibels/{,**} r,
|
||||
|
||||
owner @{user_music_dirs}/{,**} r,
|
||||
owner @{user_pictures_dirs}/{,**} r,
|
||||
owner @{user_torrents_dirs}/{,**} r,
|
||||
owner @{user_videos_dirs}/{,**} r,
|
||||
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
owner @{PROC}/@{pid}/stat r,
|
||||
owner @{PROC}/@{pid}/task/@{tid}/stat r,
|
||||
|
||||
include if exists <local/decibels>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
|
@ -77,6 +77,7 @@ cupsd attach_disconnected,complain
|
|||
ddcutil complain
|
||||
deb-systemd-helper complain
|
||||
deb-systemd-invoke complain
|
||||
decibels complain
|
||||
dino attach_disconnected,complain
|
||||
discord complain
|
||||
discord-chrome-sandbox complain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue