# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only

abi <abi/4.0>,

include <tunables/global>

@{exec_path}  = @{lib}/kf{5,6}/kscreen_backend_launcher
@{exec_path} += @{lib}/@{multiarch}/{,libexec/}kf{5,6}/kscreen_backend_launcher
profile kscreen_backend_launcher @{exec_path} {
  include <abstractions/base>
  include <abstractions/lxqt>
  include <abstractions/kde-strict>

  @{exec_path} mr,

  /dev/tty r,

  include if exists <local/kscreen_backend_launcher>
}

# vim:syntax=apparmor
