Re: [libvirt] [patch]make rundir permission equals to socket permission to support unprivileged access

2012-06-11 Thread Royce Lv
Sorry for misunderstood the code ,test and submit the patch mistakenly, will submit a new one. 2012/6/8 Daniel P. Berrange > On Tue, Jun 05, 2012 at 02:21:10PM +0800, Royce Lv wrote: > > Libvirt-socket-rw and libvirt-socket-ro are not used only for libvirt or > > root user, > > but also for unp

Re: [libvirt] [patch]make rundir permission equals to socket permission to support unprivileged access

2012-06-08 Thread Daniel P. Berrange
On Tue, Jun 05, 2012 at 02:21:10PM +0800, Royce Lv wrote: > Libvirt-socket-rw and libvirt-socket-ro are not used only for libvirt or > root user, > but also for unprivileged application such as vdsm, > Restrain the rundir only read/search for libvirt prevent comunication > with unprivileged client

Re: [libvirt] [patch]make rundir permission equals to socket permission to support unprivileged access

2012-06-06 Thread Royce Lv
2012/6/5 Dave Allan > On Tue, Jun 05, 2012 at 02:21:10PM +0800, Royce Lv wrote: > > Libvirt-socket-rw and libvirt-socket-ro are not used only for libvirt or > > root user, > > but also for unprivileged application such as vdsm, > > Restrain the rundir only read/search for libvirt prevent comunic

Re: [libvirt] [patch]make rundir permission equals to socket permission to support unprivileged access

2012-06-05 Thread Dave Allan
On Tue, Jun 05, 2012 at 02:21:10PM +0800, Royce Lv wrote: > Libvirt-socket-rw and libvirt-socket-ro are not used only for libvirt or > root user, > but also for unprivileged application such as vdsm, > Restrain the rundir only read/search for libvirt prevent comunication > with unprivileged client

[libvirt] [patch]make rundir permission equals to socket permission to support unprivileged access

2012-06-04 Thread Royce Lv
Libvirt-socket-rw and libvirt-socket-ro are not used only for libvirt or root user, but also for unprivileged application such as vdsm, Restrain the rundir only read/search for libvirt prevent comunication with unprivileged client,change rundir the permission equals to the sockets permission. See