# 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} = @{lib}/cc-remote-login-helper
@{att} = ""
profile cc-remote-login-helper /{,usr/}lib{,exec,32,64}/cc-remote-login-helper flags=(complain) {
  include <abstractions/base-strict>

  capability sys_nice,

  @{exec_path} mr,

  include if exists <local/cc-remote-login-helper>
}

# vim:syntax=apparmor
