# 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 slirp4netns /usr/bin/slirp4netns flags=(unconfined) {
  userns,

  # pivot_root is required for running `slirp4netns --enable-sandbox` inside LXD.
  # https://github.com/rootless-containers/slirp4netns/issues/348
  pivot_root,

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