]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/missing.h
build-sys: Add setns() functions if not in the C library.
authorHolger Schurig <holgerschurig@gmail.com>
Thu, 20 Feb 2014 13:39:13 +0000 (14:39 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 Feb 2014 02:06:29 +0000 (03:06 +0100)
commit3b794314149e40afaf3c456285e1e529747b6560
tree90c1b0327fc514c8a56a41292772a427ddf7aea4
parentd9d93745cd2efcdfca8f82d798e61e0ee70cef5c
build-sys: Add setns() functions if not in the C library.

Debian Stable is still using glibc 2.13, which doesn't provide the setns().
So we detect this and provide a tiny wrapper that issues the setns syscall
towards the kernel.
configure.ac
src/shared/missing.h