diff --git a/configure b/configure index e0764c488..d9c106c4e 100755 --- a/configure +++ b/configure @@ -1397,7 +1397,7 @@ Optional Features: --enable-ids enable ids --enable-apparmor enable apparmor --enable-selinux SELinux labeling support - --enable-landlock Landlock self-restriction support + --disable-landlock disable Landlock self-restriction support --disable-dbusproxy disable dbus proxy --disable-output disable --output logging --disable-usertmpfs disable tmpfs as regular user diff --git a/configure.ac b/configure.ac index 72b6638c5..6134f55c2 100644 --- a/configure.ac +++ b/configure.ac @@ -111,7 +111,7 @@ AS_IF([test "x$enable_selinux" = "xyes"], [ HAVE_LANDLOCK="" AC_SUBST([HAVE_LANDLOCK]) AC_ARG_ENABLE([landlock], - [AS_HELP_STRING([--enable-landlock], [Landlock self-restriction support])]) + [AS_HELP_STRING([--disable-landlock], [disable Landlock self-restriction support])]) AS_IF([test "x$enable_landlock" != "xno"], [ AC_CHECK_HEADER([linux/landlock.h], [HAVE_LANDLOCK="-DHAVE_LANDLOCK"],