feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2023-12-13 20:09:52 +00:00
parent ecb7f2e79f
commit a1b86b56d2
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
31 changed files with 75 additions and 131 deletions

View file

@ -15,8 +15,6 @@ profile mate-notification-daemon @{exec_path} {
@{exec_path} mr,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
owner @{HOME}/.Xauthority r,
include if exists <local/mate-notification-daemon>

View file

@ -11,15 +11,12 @@ profile nvidia-settings @{exec_path} {
include <abstractions/base>
include <abstractions/dconf-write>
include <abstractions/fonts>
include <abstractions/freedesktop.org>
include <abstractions/opencl-nvidia>
@{exec_path} mr,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/icons/{,**} r,
/usr/share/mime/mime.cache r,
/usr/share/pixmaps/{,**} r,
/usr/share/X11/xkb/{,**} r,
include if exists <local/nvidia-settings>
}

View file

@ -1,28 +0,0 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2018-2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/polipo
profile polipo @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
/etc/polipo/* r,
owner /var/log/polipo/ r,
owner /var/log/polipo/polipo.log w,
# Cache dir
owner /var/cache/polipo/{,*} rw,
owner @{HOME}/.polipo-cache/{,*} rw,
# Nameservice
@{etc_rw}/resolv.conf r,
include if exists <local/polipo>
}