]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security_selinux: Use proper structure to access socket data
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 13 Aug 2015 05:35:10 +0000 (07:35 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 24 Aug 2015 09:53:17 +0000 (11:53 +0200)
commit4ac6ce38d3bc60f45491509ede4fc8437348048c
tree788a02b2b0018fb3785d873aaa40dbe1f64bc847
parentf08b1c58f3cee046a8b5fb6abecaaa065ffd3e15
security_selinux: Use proper structure to access socket data

In virSecuritySELinuxSetSecurityChardevLabel() we are labelling unix
socket path, but accessing another structure of the union.  This does
not pose a problem currently as both paths are at the same offset, but
this should be fixed for the future.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/security/security_selinux.c