commit | f88febd481ecef729bafcf453b2bdfa5269ba2fb | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Aug 14 02:25:19 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Aug 14 02:28:12 2012 +0400 |
tree | 5d57b244a144d19f42f14d81f3f5d487f5b9891a | |
parent | 37c6e50c355926033e5bb39d42ecb221da17d033 [diff] |
setns(): reimplement via syscall() if not available 1 Modify configure.ac to not fail if setns() is not available, and define HAVE_SETNS if it is 2 Reimplement setns syscall using syscall(). Defines for __NR_setns are taken from kernel headers. Signed-off-by: Kir Kolyshkin <kir@openvz.org>