]> git.ipfire.org Git - thirdparty/libvirt.git/commit
admin: Fix passing an incorrect readonly attribute to virNetServerServiceNew
authorErik Skultety <eskultet@redhat.com>
Sat, 14 May 2016 17:10:39 +0000 (19:10 +0200)
committerErik Skultety <eskultet@redhat.com>
Mon, 16 May 2016 14:26:47 +0000 (16:26 +0200)
commite54b81604d0169e559dee490e477a3d4867ccc5b
tree3d7395af6be7a1c3031c982145803cbdb7ba7df0
parent5b62a951767d809b2c7bd37c0efd65021bc9c4bf
admin: Fix passing an incorrect readonly attribute to virNetServerServiceNew

When registering admin UNIX socket, a new service is created for it. This
service is incorrectly initialized to be readonly, which is later inherited by
all clients connected to the socket. In libvirt-admin's case there currently
isn't any use for the attribute anyway, but since the socket has root-only
access permissions, the least we can do is to make every admin client
connected to it report readonly as false.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
daemon/libvirtd.c