]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virprocess: Introduce our own setns() wrapper
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 10 Sep 2014 09:47:19 +0000 (11:47 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 10 Sep 2014 10:19:10 +0000 (12:19 +0200)
commit15784e21cf763ee327a307586bda0b2800973384
treefedd0ea684463f38cc0f0e5f53a94ba6c72d1111
parent692c4ea673d05ca9fda0f81789d4e93c68e9655f
virprocess: Introduce our own setns() wrapper

From time to time weird bugreports occur on the list, e.g [1].
Even though the kernel supports setns syscall, there's an older
glibc in the system that misses a wrapper over the syscall.
Hence, after the configure phase we think there's no setns
support in the system, which is obviously wrong. On the other
hand, we can't rely on linux distributions to provide newer glibc
soon. Therefore we need to introduce the wrapper on or own.

1: https://www.redhat.com/archives/libvir-list/2014-September/msg00492.html

Signed-off-by: Stephan Sachse <ste.sachse@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virprocess.c