mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
virt-aa-helper: /etc/libvirt-sandbox/services isn't restricted
To get virt-sandbox-service working with AppArmor, virt-aa-helper needs not to choke on path in /etc/libvirt-sandbox/services.
This commit is contained in:
parent
22221233d0
commit
c264eeaa38
@ -571,7 +571,8 @@ valid_path(const char *path, const bool readonly)
|
||||
};
|
||||
/* override the above with these */
|
||||
const char * const override[] = {
|
||||
"/sys/devices/pci" /* for hostdev pci devices */
|
||||
"/sys/devices/pci", /* for hostdev pci devices */
|
||||
"/etc/libvirt-sandbox/services/" /* for virt-sandbox service config */
|
||||
};
|
||||
|
||||
if (path == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user