apparmor.d/apparmor.d/groups/kde/kwin_wayland_wrapper
curiosityseeker 7f4cef2fff
Kwin wayland, kwin wayland wrapper and sddm (#198)
* Update kwin_wayland

Please check the udev rules and change them if needed - I'm not familiar with them.

* Update kwin_wayland_wrapper

* Update sddm

* Update kwin_wayland_wrapper

Reverting change for @{run}/user/@{uid}

* Update kwin_wayland: Correct udev rule

* Update kwin_wayland: adding the wayland abs

* Update sddm: reverting owner /tmo rules

* Update sddm: reverting /usr/share/X11/xkb rule

* Update sddm: adding the mesa abs

* Update kwin_wayland: order udev rules
2023-08-27 11:19:13 +00:00

28 lines
682 B
Text

# 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} = @{bin}/kwin_wayland_wrapper
profile kwin_wayland_wrapper @{exec_path} {
include <abstractions/base>
include <abstractions/wayland>
include <abstractions/X-strict>
signal (send) set=(term, kill) peer=kwin_wayland,
@{exec_path} mr,
@{bin}/kwin_wayland rPx,
owner @{run}/user/@{uid}/#@{int} rw,
owner @{run}/user/@{uid}/xauth_@{rand6} w,
owner @{run}/user/@{uid}/wayland-*.lock rk,
owner /tmp/.X1-lock rw,
include if exists <local/kwin_wayland_wrapper>
}