]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virt-aa-helper: allow spaces in vm names
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Wed, 20 Sep 2017 14:59:08 +0000 (16:59 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 6 Oct 2017 09:14:49 +0000 (11:14 +0200)
commite79211ed231c8453d4abc3fe0a66b4609016a73b
tree73a03e7ed667be4eb33af1c1fcfa7ae58515c035
parentbf3a4140877299cf351821518d269bcd4888f2f1
virt-aa-helper: allow spaces in vm names

libvirt allows spaces in vm names, there were issues in the past but it
seems not removed so the assumption has to be that spaces are continuing
to be allowed.

Therefore virt-aa-helper should not reject spaces in vm names anymore if
it is going to be refused causing issues then the parser or xml schema
should do so.
Apparmor rules are in quotes, so a space in a path based on the name works.

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/security/virt-aa-helper.c