apparmor: skip /proc and /sys restrictions if nesting is enabled
If nesting is enabled, it's already possible to mount your own
instance of both procfs and sysfs inside the container, so protecting
the "original" ones at /proc and /sys makes no sense, but breaks
certain nested container setups.
See: https://github.com/lxc/incus/pull/2624/commits/
1fbe4bffb9748cc3b07aaf5db310d463c1e827d0
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>