update profiles for apparmor3

This commit is contained in:
Mikhail Morfikov 2020-12-10 22:33:39 +01:00
parent 503cf496bf
commit 7067edcf70
No known key found for this signature in database
GPG key ID: 32D9CB634796CCA1
776 changed files with 6867 additions and 5199 deletions

View file

@ -9,20 +9,20 @@
#
# ------------------------------------------------------------------
#abi <abi/3.0>,
abi <abi/3.0>,
#include <tunables/global>
include <tunables/global>
@{exec_path} = /{usr/,}bin/sddm
profile sddm @{exec_path} {
#include <abstractions/base>
#include <abstractions/freedesktop.org>
#include <abstractions/fonts>
#include <abstractions/fontconfig-cache-read>
#include <abstractions/authentication>
#include <abstractions/wutmp>
#include <abstractions/dri-common>
#include <abstractions/nameservice-strict>
include <abstractions/base>
include <abstractions/freedesktop.org>
include <abstractions/fonts>
include <abstractions/fontconfig-cache-read>
include <abstractions/authentication>
include <abstractions/wutmp>
include <abstractions/dri-common>
include <abstractions/nameservice-strict>
# To remove the following errors:
# chown("/tmp/sddm-:0-YPUOCV", 123, 132) = -1 EPERM (Operation not permitted)
@ -169,9 +169,9 @@ profile sddm @{exec_path} {
profile sddm-scripts {
#include <abstractions/base>
#include <abstractions/consoles>
#include <abstractions/bash>
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/bash>
/usr/share/sddm/scripts/Xsetup r,
/usr/share/sddm/scripts/Xstop r,
@ -192,7 +192,7 @@ profile sddm @{exec_path} {
}
profile xauth {
#include <abstractions/base>
include <abstractions/base>
/{usr/,}bin/xauth mr,
@ -208,5 +208,5 @@ profile sddm @{exec_path} {
}
#include if exists <local/sddm>
include if exists <local/sddm>
}