# Vigox Agent's built-in browser (WebKitGTK) sandboxes its web processes with bubblewrap, which
# needs unprivileged user namespaces — restricted by default since Ubuntu 23.10. Like Ubuntu's own
# profiles for WebKit browsers (/etc/apparmor.d/epiphany), this profile allows everything and only
# gives the application a name and the userns permission, so the sandbox keeps working.

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

profile vigox /usr/bin/vigox flags=(unconfined) {
  userns,

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