# 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}/{,kf6/}kauth/{,libexec/}fontinst
@{att} = ""
profile kauth-fontinst /{,usr/}lib{,exec,32,64}/{,kf6/}kauth/{,libexec/}fontinst flags=(complain) {
  include <abstractions/base-strict>
  include <abstractions/qt5>

  @{exec_path} mr,

  /usr/share/icu/@{int}.@{int}/*.dat r,

  include if exists <local/kauth-fontinst>
}

# vim:syntax=apparmor
