# apparmor.d - Full set of apparmor profiles
# SPDX-License-Identifier: GPL-2.0-only

abi <abi/3.0>,

include <tunables/global>

@{exec_path} = /{,usr/}{,local/}bin/rustdesk-utils
profile rustdesk-utils @{exec_path} {
  include <abstractions/base>
  include <abstractions/nameservice-strict>
  include <abstractions/consoles>

  network inet stream,
  network inet6 stream,

  @{exec_path} mr,

  include if exists <local/rustdesk-utils>
}
