gadget: support creating vfat partitions during bootstrap
This commit allows creating the "Windows Basic Data Partition"
as part of the gadget.yaml. This is needed so that the ubuntu-boot
partition can be put on a gpt vfat partition. Note that we already
support this for non-gpt partition layouts.
interfaces: builtin: update permitted paths to be compatible with UC20
core20 does not have populated /bin and /sbin directories, instead those are
symbolic links to /usr/bin and /usr/sbin respectively.
Apparmor profiles need to reflect this, otherwise we have disparity what is allowed
on pre UC20 and UC20 systems
Signed-off-by: Ondrej Kubik <email address hidden>
The snap-seccomp helper maintains a list of all know syscalls supported by
libseccomp. We catch when the internal list diverges from upstream libseccomp
in a tests/main/snap-seccomp-syscalls spread test.
Upstream libseccomp has been updated with some new syscalls, this commit
updates the internal list to match that of libseccomp.