mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-15 06:48:10 +08:00
disable linux namespaces by default
This commit is contained in:
@@ -279,8 +279,8 @@ AC_LIB_HAVE_LINKFLAGS(seccomp,, [#include <seccomp.h>], [seccomp_init(0);])
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(linux-namespaces,
|
AC_ARG_ENABLE(linux-namespaces,
|
||||||
AS_HELP_STRING([--disable-linux-namespaces], [disable support for different namespaces in Linux]),
|
AS_HELP_STRING([--enable-linux-namespaces], [enable support for namespaces (containers) in Linux]),
|
||||||
linux_ns_enabled=$enableval, linux_ns_enabled=yes)
|
linux_ns_enabled=$enableval, linux_ns_enabled=no)
|
||||||
|
|
||||||
if [ test "$linux_ns_enabled" = "yes" ];then
|
if [ test "$linux_ns_enabled" = "yes" ];then
|
||||||
AC_MSG_CHECKING([for Linux namespaces])
|
AC_MSG_CHECKING([for Linux namespaces])
|
||||||
|
|||||||
Reference in New Issue
Block a user