mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
feat(profiles): general update.
This commit is contained in:
parent
03b98ad7de
commit
2f455786e7
20
apparmor.d/groups/gnome/gkbd-keyboard-display
Normal file
20
apparmor.d/groups/gnome/gkbd-keyboard-display
Normal file
@ -0,0 +1,20 @@
|
||||
# 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} = /{usr/,}bin/gkbd-keyboard-display
|
||||
profile gkbd-keyboard-display @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/fonts>
|
||||
include <abstractions/dconf-write>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/X11/{,**} r,
|
||||
|
||||
include if exists <local/gkbd-keyboard-display>
|
||||
}
|
@ -23,7 +23,7 @@ profile gnome-characters @{exec_path} {
|
||||
/{usr/,}bin/gjs-console rix,
|
||||
|
||||
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
||||
/usr/share/icu/{,**} r,
|
||||
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
|
||||
/usr/share/libdrm/*.ids r,
|
||||
/usr/share/org.gnome.Characters/org.gnome.Characters.*.gresource r,
|
||||
/usr/share/themes/{,**} r,
|
||||
|
@ -36,7 +36,7 @@ profile gnome-terminal-server @{exec_path} {
|
||||
/{usr/,}lib/@{multiarch}/glib-[0-9]*/gio-launch-desktop rPx -> child-open,
|
||||
/{usr/,}lib/gio-launch-desktop rPx -> child-open,
|
||||
|
||||
/usr/share/icu/{,**} r,
|
||||
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
|
||||
/usr/share/X11/xkb/{,**} r,
|
||||
|
||||
/var/lib/flatpak/exports/share/icons/{,**} r,
|
||||
|
@ -50,7 +50,7 @@ profile nautilus @{exec_path} flags=(attach_disconnected) {
|
||||
/{usr/,}lib/gio-launch-desktop rPx -> child-open,
|
||||
|
||||
/usr/share/*ubuntu/applications/{,**} r,
|
||||
/usr/share/icu/{,**} r,
|
||||
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
|
||||
/usr/share/libdrm/*.ids r,
|
||||
/usr/share/nautilus/{,**} r,
|
||||
/usr/share/poppler/{,**} r,
|
||||
|
@ -59,4 +59,3 @@ profile kwin_x11 @{exec_path} {
|
||||
|
||||
include if exists <local/kwin_x11>
|
||||
}
|
||||
|
||||
|
@ -24,8 +24,7 @@ profile virtinterfaced @{exec_path} flags=(attach_disconnected) {
|
||||
@{run}/systemd/inhibit/*.ref rw,
|
||||
owner @{run}/user/@{uid}/libvirt/common/system.token rwk,
|
||||
owner @{run}/user/@{uid}/libvirt/interface/ rw,
|
||||
owner @{run}/user/@{uid}/libvirt/interface/run rw,
|
||||
owner @{run}/user/@{uid}/libvirt/interface/run/* rwk,
|
||||
owner @{run}/user/@{uid}/libvirt/interface/run/{,*} rwk,
|
||||
owner @{run}/user/@{uid}/libvirt/secrets/run/driver.pid rw,
|
||||
owner @{run}/user/@{uid}/libvirt/virtinterfaced* rwk,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user