Add some gnome related profiles.
This commit is contained in:
parent
bfa2293379
commit
665fd26419
3 changed files with 97 additions and 0 deletions
30
apparmor.d/groups/gnome/gnome-calculator-search-provider
Normal file
30
apparmor.d/groups/gnome/gnome-calculator-search-provider
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# 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-calculator-search-provider
|
||||
profile gnome-calculator-search-provider @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/gtk>
|
||||
|
||||
signal (send) set=kill peer=unconfined,
|
||||
|
||||
@{exec_path} mr,
|
||||
/{usr/,}bin/[a-z0-9]* rPUx,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
/usr/share/X11/xkb/{,**} r,
|
||||
/usr/share/icons/{,**} r,
|
||||
|
||||
include <abstractions/dconf>
|
||||
owner @{run}/user/@{uid}/dconf/ rw,
|
||||
owner @{run}/user/@{uid}/dconf/user rw,
|
||||
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
|
||||
include if exists <local/gnome-calculator-search-provider>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue