cheese
This commit is contained in:
parent
7c46ed2dd1
commit
9c9877a152
1 changed files with 59 additions and 0 deletions
59
apparmor.d/profiles-a-f/cheese
Normal file
59
apparmor.d/profiles-a-f/cheese
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2025 Roman Beslik <me@beroal.in.ua>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/cheese
|
||||
profile cheese @{exec_path} {
|
||||
include <abstractions/audio-client>
|
||||
include <abstractions/base>
|
||||
include <abstractions/dconf-write>
|
||||
include <abstractions/fonts>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/graphics>
|
||||
include <abstractions/gstreamer>
|
||||
include <abstractions/gtk>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/thumbnails-cache-write>
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/bwrap Px -> gnome-desktop-thumbnailers,
|
||||
@{open_path} rPx -> child-open,
|
||||
|
||||
@{system_share_dirs}/X11/xkb/{,**} r,
|
||||
@{system_share_dirs}/applications/{,*.desktop} r,
|
||||
@{system_share_dirs}/gnome-video-effects/{,*.effect} r,
|
||||
@{system_share_dirs}/icons/{,**} r,
|
||||
@{system_share_dirs}/ladspa/rdf/{,**} r,
|
||||
@{system_share_dirs}/thumbnailers/{,*.thumbnailer} r,
|
||||
|
||||
/etc/machine-id r,
|
||||
|
||||
owner @{HOME}/ r, # file save dialog
|
||||
owner @{user_pictures_dirs}/{,**} rw,
|
||||
owner @{user_videos_dirs}/{,**} rw,
|
||||
|
||||
owner @{user_cache_dirs}/gnome-desktop-thumbnailer/gstreamer-1.0/ r,
|
||||
|
||||
owner /dev/shm/wlroots-* r,
|
||||
@{run}/udev/data/c236:0 r,
|
||||
owner @{tmp}/flatpak-seccomp-@{rand6} rw,
|
||||
owner @{tmp}/gnome-desktop-thumbnailer-@{rand6}/{,**} rw,
|
||||
|
||||
@{sys}/devices/virtual/dmi/id/{bios_vendor,board_vendor,product_name,sys_vendor} r,
|
||||
|
||||
owner @{PROC}/@{pid}/task/@{tid}/comm rw,
|
||||
|
||||
/dev/media@{int} rw,
|
||||
/dev/video@{int} rw,
|
||||
|
||||
include if exists <local/cheese>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
Loading…
Add table
Add a link
Reference in a new issue