# 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/3.0>,

#include <tunables/global>

@{exec_path} = @{bin}/lxqt-about
profile lxqt-about @{exec_path} {
  include <abstractions/base>
  include <abstractions/gtk>
  include <abstractions/lxqt>
  include <abstractions/video>
  include <abstractions/lxqt>
      
  @{exec_path}			mr,

  /usr/share/icons/{,**}  		r,
  /usr/share/desktop-directories/{,**}  r,

  /etc/xdg/menus/lxqt-applications.menu r,

  /dev/tty				rw,

  owner /tmp/@{int}  			r,

  include if exists <local/lxqt-about>
}

# vim:syntax=apparmor
