[master] 510bcca23 Disable persistent storage on s390

Poul-Henning Kamp phk at FreeBSD.org
Mon Dec 4 12:01:05 UTC 2023


commit 510bcca2308c0772bd53afbbeed97ab5b142f11b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Dec 4 11:59:57 2023 +0000

    Disable persistent storage on s390
    
    The ASLR is now so aggresive that it never works.

diff --git a/autogen.des b/autogen.des
index d256a9bcb..606c3b62a 100755
--- a/autogen.des
+++ b/autogen.des
@@ -22,6 +22,13 @@ else
 	DST="--prefix=/opt/varnish --mandir=/opt/varnish/man"
 fi
 
+PERSISTENT=--with-persistent-storage
+
+if [ `uname -m` = "s390x" ] ; then
+	# ASLR makes this impossible
+	PERSISTENT=
+fi
+
 rm -f $SRCDIR/configure
 autoreconf -i -v $SRCDIR
 
@@ -34,6 +41,6 @@ $SRCDIR/configure \
     --enable-developer-warnings \
     --enable-debugging-symbols \
     --enable-dependency-tracking \
-    --with-persistent-storage \
+    ${PERSISTENT} \
     --with-contrib \
     "$@"


More information about the varnish-commit mailing list