]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: allow retrieving ethtool features when unprivileged
authorLaine Stump <laine@laine.org>
Fri, 17 Mar 2017 21:49:45 +0000 (17:49 -0400)
committerLaine Stump <laine@laine.org>
Wed, 22 Mar 2017 16:10:09 +0000 (12:10 -0400)
commit549fe5a882ceab37cf2cb2c4550033670478d824
treebb8b223f4ee1cb890b9689eac6ad3ce4763e273a
parent1c9a8746efcb753d34c0a0470cc5846af6f71bd5
util: allow retrieving ethtool features when unprivileged

The only reason that the ethtool features weren't being retrieved in
an unprivileged libvirtd was because they required ioctl(), and the
ioctl was using an AF_PACKET socket, which requires root. Now that we
are using AF_UNIX for ioctl(), this restriction can be removed.
src/util/virnetdev.c