Profiles update.
This commit is contained in:
parent
ae5f781175
commit
0d566a43b9
18 changed files with 77 additions and 22 deletions
|
|
@ -25,6 +25,7 @@ profile gdm-session-worker @{exec_path} flags=(attach_disconnected) {
|
|||
capability sys_tty_config,
|
||||
|
||||
signal (receive) set=term peer=gdm,
|
||||
signal (send) set=hup peer=at-spi-bus-launcher,
|
||||
signal (send) set=hup peer=dbus-daemon,
|
||||
signal (send) set=hup peer=gjs-console,
|
||||
signal (send) set=hup peer=gnome-*,
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ profile gnome-contacts @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
/usr/share/applications/{,*.desktop} r,
|
||||
|
||||
owner @{user_cache_dirs}/evolution/addressbook/{,**} r,
|
||||
owner @{user_cache_dirs}/gstreamer*/{,**} r,
|
||||
|
|
|
|||
25
apparmor.d/groups/gnome/gnome-control-center-search-provider
Normal file
25
apparmor.d/groups/gnome/gnome-control-center-search-provider
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gnome-control-center-search-provider
|
||||
profile gnome-control-center-search-provider @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/gtk>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
/usr/share/X11/xkb/{,**} r,
|
||||
|
||||
include <abstractions/dconf>
|
||||
owner @{run}/user/@{uid}/dconf/ rw,
|
||||
owner @{run}/user/@{uid}/dconf/user rw,
|
||||
|
||||
include if exists <local/gnome-control-center-search-provider>
|
||||
}
|
||||
|
|
@ -76,6 +76,7 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected) {
|
|||
owner @{user_cache_dirs}/libgweather/{,**} r,
|
||||
owner @{user_cache_dirs}/media-art/{,**} r,
|
||||
owner @{user_cache_dirs}/gnome-screenshot/{,**} rw,
|
||||
owner @{user_cache_dirs}/evolution/addressbook/*/PHOTO-*.JPEG r,
|
||||
|
||||
include <abstractions/dconf>
|
||||
owner @{run}/user/@{uid}/dconf/ rw,
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ profile nautilus @{exec_path} flags=(attach_disconnected) {
|
|||
owner /tmp/{,**} rw,
|
||||
|
||||
# Silencer for non user's data
|
||||
deny owner @{HOME}/@{XDG_VM_DIR}/{,**} rw,
|
||||
deny /boot rw,
|
||||
deny /opt rw,
|
||||
deny /root rw,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue