# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"

abi <abi/4.0>,
include <tunables/global>

profile sbuild-checkpackages /usr/bin/sbuild-checkpackages flags=(attach_disconnected mediate_deleted) {
  allow all,
  @{exec_path} mrix,

  # override default pix, assumes allow ix is at lower priority
  /usr/bin/unshare ix,

  userns,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/sbuild-checkpackages>
}
