update apparmor profiles

This commit is contained in:
Mikhail Morfikov 2021-01-10 16:35:07 +01:00
parent 756e2071e1
commit 8e075d25fa
No known key found for this signature in database
GPG key ID: 32D9CB634796CCA1
603 changed files with 1280 additions and 723 deletions

View file

@ -1,7 +1,7 @@
# vim:syntax=apparmor
# ------------------------------------------------------------------
#
# Copyright (C) 2020 Mikhail Morfikov
# Copyright (C) 2020-2021 Mikhail Morfikov
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
@ -17,6 +17,7 @@ include <tunables/global>
profile kodi @{exec_path} {
include <abstractions/base>
include <abstractions/X>
include <abstractions/vulkan>
include <abstractions/audio>
include <abstractions/dri-enumerate>
include <abstractions/nameservice-strict>
@ -69,10 +70,6 @@ profile kodi @{exec_path} {
/etc/timezone r,
/etc/fstab r,
/etc/glvnd/egl_vendor.d/ r,
/usr/share/glvnd/egl_vendor.d/ r,
/usr/share/glvnd/egl_vendor.d/[0-9][0-9]_*.json r,
owner @{PROC}/@{pid}/mounts r,
@{PROC}/@{pid}/net/dev r,
@{PROC}/sys/kernel/core_pattern r,