]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Don't fail if SELinux is diabled
authorGuido Günther <agx@sigxcpu.org>
Wed, 20 Mar 2013 19:01:18 +0000 (20:01 +0100)
committerGuido Günther <agx@sigxcpu.org>
Wed, 20 Mar 2013 20:04:57 +0000 (21:04 +0100)
commit82eec793c7a3ac470b156d36e9533087ca1f7d2b
treeaebcd8768d44097f476d28e9cd2c17562256c50f
parent2e1cd8900f28a23ccad6d9fa054d686cdc36384a
Don't fail if SELinux is diabled

but libvirt is built with --with-selinux. In this case getpeercon
returns ENOPROTOOPT so don't return an error in that case but simply
don't set seccon.
src/rpc/virnetsocket.c