feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2022-05-09 21:51:18 +01:00
parent 940c9de083
commit 0b66933b45
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
22 changed files with 37 additions and 22 deletions

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -12,7 +13,7 @@ profile fc-list @{exec_path} {
include <abstractions/fonts>
include <abstractions/fontconfig-cache-read>
/{usr/,}bin/fc-list mr,
@{exec_path} mr,
include if exists <local/fc-list>
}

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2019-2022 Mikhail Morfikov
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -32,6 +33,8 @@ profile xrdb @{exec_path} {
owner /tmp/xauth-[0-9]*-_[0-9] r,
owner /tmp/kcminit.* r,
owner @{run}/user/@{uid}/.mutter-Xwaylandauth.* r,
# file_inherit
owner /dev/tty[0-9]* rw,
owner @{HOME}/.xsession-errors w,

View file

@ -25,6 +25,7 @@ profile xwayland @{exec_path} flags=(attach_disconnected) {
/{usr/,}bin/xkbcomp rPx,
/usr/share/egl/{,**} r,
/usr/share/fonts/X11/{,**} r,
/usr/share/X11/xkb/rules/evdev r,
owner /tmp/server-[0-9]*.xkm rwk,