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

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{bin}/gnome-font-viewer
@{att} = ""
profile gnome-font-viewer /{,usr/}bin/gnome-font-viewer flags=(complain) {
  include <abstractions/base-strict>
  include <abstractions/common/gnome>

  @{exec_path} mr,
  @{open_path}  rpx -> child-open-help,

  include if exists <local/gnome-font-viewer>
}

# vim:syntax=apparmor
