]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Open /proc/PID/ns/* read-only to avoid getting permission denied
authorCédric Bosdonnat <cbosdonnat@suse.com>
Thu, 9 Apr 2015 07:22:43 +0000 (09:22 +0200)
committerCédric Bosdonnat <cbosdonnat@suse.com>
Thu, 9 Apr 2015 09:20:32 +0000 (11:20 +0200)
commitcc21badc5c30ddeeb89abfa9ecdfbacd512f33c2
treeac60243f545ad64a18d6f436b89997b7a61fb753
parent9e7b1e646d301dc6e0ebf89e5fccd46b57bc9e15
Open /proc/PID/ns/* read-only to avoid getting permission denied

lxc-enter-namespace stopped working on recent kernels (at least 3.19+)
due to /proc/PID/ns/* file descriptors being opened RW. From outside
the namespace these can only be opened RO.
src/util/virprocess.c