Re: [libvirt] [PATCH v3 08/11] driver.c: change URI validation to handle QEMU and vbox case

2019-09-26 Thread Daniel Henrique Barboza
On 9/25/19 7:58 PM, Cole Robinson wrote: On 9/25/19 9:50 AM, Daniel Henrique Barboza wrote: The existing QEMU and vbox URI path validation consider that a privileged user can use both a "/system" and a "/session" URI. This differs from all the other drivers that forbids the root user to use

Re: [libvirt] [PATCH v3 08/11] driver.c: change URI validation to handle QEMU and vbox case

2019-09-25 Thread Cole Robinson
On 9/25/19 9:50 AM, Daniel Henrique Barboza wrote: The existing QEMU and vbox URI path validation consider that a privileged user can use both a "/system" and a "/session" URI. This differs from all the other drivers that forbids the root user to use "/session" URI. Let's update

[libvirt] [PATCH v3 08/11] driver.c: change URI validation to handle QEMU and vbox case

2019-09-25 Thread Daniel Henrique Barboza
The existing QEMU and vbox URI path validation consider that a privileged user can use both a "/system" and a "/session" URI. This differs from all the other drivers that forbids the root user to use "/session" URI. Let's update virConnectValidateURIPath() to handle these cases as exceptions,