security: AppArmor profile fixes for swtpm
security: AppArmor profile fixes for swtpm

The AppArmor profile generated by virt-aa-helper is too strict for swtpm.
This change contains 2 small fixes:
- Relax append access to swtpm's log file to permit write access instead.
Append access is insufficient because the log is opened with O_CREAT.
- Permit swtpm to acquire a lock on its lock file.

Signed-off-by: Chris Coulson <2226e81bcfd16343442e8c1ae73e4a3d230c336a@canonical.com>
Reviewed-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

jardasgit/libvirt,nertpinx/libvirt,nertpinx/libvirt,olafhering/libvirt,nertpinx/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,jfehlig/libvirt,zippy2/libvirt,jfehlig/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,crobinso/libvirt,fabianfreyer/libvirt,zippy2/libvirt,jardasgit/libvirt,crobinso/libvirt,olafhering/libvirt,andreabolognani/libvirt,jardasgit/libvirt,jfehlig/libvirt,libvirt/libvirt,zippy2/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,zippy2/libvirt,libvirt/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,crobinso/libvirt,andreabolognani/libvirt,jfehlig/libvirt,andreabolognani/libvirt,olafhering/libvirt,nertpinx/libvirt,jardasgit/libvirt,crobinso/libvirt,libvirt/libvirt,olafhering/libvirt,libvirt/libvirt