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

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{bin}/lxqt-config-printer
@{att} = ""
profile lxqt-config-printer /{,usr/}bin/lxqt-config-printer flags=(complain) {
  include <abstractions/base-strict>
  include <abstractions/lxqt>

  @{exec_path} mr,

  owner /tmp/@{int} r,

  /dev/tty rw,

  include if exists <local/lxqt-config-printer>
}

# vim:syntax=apparmor
