# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Roman Beslik <me@beroal.in.ua>
# SPDX-License-Identifier: GPL-2.0-only

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{bin}/alc
profile alc @{exec_path} {
  include <abstractions/base>
  include <abstractions/dconf-write>
  include <abstractions/gnome-strict>

  @{exec_path} mr,
  @{user_torrents_dirs}/{,**} rw,

  include if exists <local/alc>
}

# vim:syntax=apparmor
