mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
feat(profiles): add transmission-gtk
This commit is contained in:
parent
4d79af2203
commit
b0eed1ae39
2 changed files with 60 additions and 0 deletions
59
apparmor.d/profiles-s-z/transmission-gtk
Normal file
59
apparmor.d/profiles-s-z/transmission-gtk
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = @{bin}/transmission-gtk
|
||||||
|
profile transmission-gtk @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/dconf-write>
|
||||||
|
include <abstractions/dri-common>
|
||||||
|
include <abstractions/dri-enumerate>
|
||||||
|
include <abstractions/fonts>
|
||||||
|
include <abstractions/freedesktop.org>
|
||||||
|
include <abstractions/gtk>
|
||||||
|
include <abstractions/mesa>
|
||||||
|
include <abstractions/nameservice-strict>
|
||||||
|
include <abstractions/nvidia>
|
||||||
|
include <abstractions/openssl>
|
||||||
|
include <abstractions/ssl_certs>
|
||||||
|
include <abstractions/trash>
|
||||||
|
include <abstractions/user-download-strict>
|
||||||
|
include <abstractions/vulkan>
|
||||||
|
|
||||||
|
network inet dgram,
|
||||||
|
network inet6 dgram,
|
||||||
|
network inet stream,
|
||||||
|
network inet6 stream,
|
||||||
|
network netlink raw,
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/usr/share/X11/xkb/{,**} r,
|
||||||
|
|
||||||
|
owner @{user_torrents_dirs}/ r,
|
||||||
|
owner @{user_torrents_dirs}/** rw,
|
||||||
|
|
||||||
|
owner @{user_config_dirs}/transmission/ rw,
|
||||||
|
owner @{user_config_dirs}/transmission/** rwk,
|
||||||
|
|
||||||
|
owner @{user_cache_dirs}/ rw,
|
||||||
|
owner @{user_cache_dirs}/transmission/ rw,
|
||||||
|
owner @{user_cache_dirs}/transmission/** rwk,
|
||||||
|
|
||||||
|
owner @{user_share_dirs}/ r,
|
||||||
|
|
||||||
|
@{run}/mount/utab r,
|
||||||
|
|
||||||
|
@{PROC}/@{pid}/net/route r,
|
||||||
|
owner @{PROC}/@{pid}/comm r,
|
||||||
|
owner @{PROC}/@{pid}/mountinfo r,
|
||||||
|
owner @{PROC}/@{pid}/mounts r,
|
||||||
|
|
||||||
|
deny @{user_share_dirs}/gvfs-metadata/* r,
|
||||||
|
|
||||||
|
include if exists <local/transmission-gtk>
|
||||||
|
}
|
|
@ -331,6 +331,7 @@ systemsettings complain
|
||||||
thunderbird complain
|
thunderbird complain
|
||||||
thunderbird-glxtest complain
|
thunderbird-glxtest complain
|
||||||
thunderbird-vaapitest complain
|
thunderbird-vaapitest complain
|
||||||
|
transmission-gtk complain
|
||||||
udisksctl complain
|
udisksctl complain
|
||||||
udisksd attach_disconnected,complain
|
udisksd attach_disconnected,complain
|
||||||
umount complain
|
umount complain
|
||||||
|
|
Loading…
Reference in a new issue