<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif;"><span style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">Hello Maintainers,</span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif;"><span style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif;"><span style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">Please review the required changes for libgcrypt on z/OS platform.</span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif;"><span style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif;"><span style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Patch details as explained below.</span></p>
<ol start="1" data-editing-info="{"applyListStyleFromLevel":true,"orderedStyleType":1}" style="text-align: left; list-style-type: decimal;">
<li style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div role="presentation">configure.ac: Add z/OS detection to set a printable OS name, hint pthread availability, obtain EXTRA_LIBS_FOR_BUILD via pkg-config/zoslib for external library linking, and disable mmap detection so configure and generated Makefiles
 behave correctly on z/OS.</div>
</li><li style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div dir="ltr" role="presentation"><span style="background-color: rgb(255, 255, 255);">cipher/Makefile.am, doc/Makefile.am: Append $(EXTRA_LIBS_FOR_BUILD) to gost-s-box and yat2m link lines so build-host helper programs link correctly with z/OS-specific libraries
 during the build.</span></div>
</li><li style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
m4/libtool.m4: Add openedition* case setting lt_cv_deplibs_check_method=pass_all to accommodate z/OS/libtool dependency-check behavior.</li><li style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div role="presentation">mpi/longlong.h: Exclude the s390x GCC inline-assembly path on z/OS (<b>MVS</b>) because the inline asm is written for GAS-style syntax used on Linux on Z (LoZ) and is not compatible with z/OS.</div>
<div dir="ltr" role="presentation">Rationale: although both targets use the same s390x architecture, z/OS uses HLASM (IBM High Level Assembler) with different syntax/semantics while LoZ uses GAS-style inline asm, so the GAS-formatted asm must be avoided on
 z/OS.</div>
</li><li style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div role="presentation">src/secmem.c: Make secure-memory locking a no-op on z/OS  because the platform lacks the same secure memory primitives.</div>
</li></ol>
<div dir="ltr" class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;">
<br>
</div>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;">
---</p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 11pt;">
 </p>
<p class="MsoNormal" style="margin: 0cm;"><span style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">Signed-off-by: Sachin T <sachin.t@ibm.com></span></p>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
---</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 cipher/Makefile.am |  2 +-</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 configure.ac       | 30 +++++++++++++++++++++++++++++-</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 doc/Makefile.am    |  2 +-</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 m4/libtool.m4      |  4 ++++</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 mpi/longlong.h     |  2 +-</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 src/secmem.c       |  4 ++++</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 6 files changed, 40 insertions(+), 4 deletions(-)</div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
diff --git a/cipher/Makefile.am b/cipher/Makefile.am</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
index bbcd518a..fc8966f8 100644</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
--- a/cipher/Makefile.am</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+++ b/cipher/Makefile.am</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
@@ -175,7 +175,7 @@ gost-sb.h: gost-s-box$(EXEEXT_FOR_BUILD)</div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 gost-s-box$(EXEEXT_FOR_BUILD): gost-s-box.c</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
      $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
-         $(CPPFLAGS_FOR_BUILD) -o $@ $(srcdir)/gost-s-box.c</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+         $(CPPFLAGS_FOR_BUILD) -o $@ $(srcdir)/gost-s-box.c $(EXTRA_LIBS_FOR_BUILD)</div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 if ENABLE_O_FLAG_MUNGING</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
diff --git a/configure.ac b/configure.ac</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
index f5e78077..c7070169 100644</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
--- a/configure.ac</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+++ b/configure.ac</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
@@ -290,6 +290,10 @@ case "${host}" in</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
                   [defined if we use posix_spawn in test program])</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
         AC_CHECK_HEADERS(spawn.h)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
         ;;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+    *-openedition*)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+           # The z/OS C runtime includes pthread support, and linking is handled automatically at build time.</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+        have_pthread=yes</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+        ;;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
     *)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
       ;;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 esac</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
@@ -299,7 +303,6 @@ if test "$have_w32_system" = yes; then</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 fi</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 AM_CONDITIONAL(HAVE_W32_SYSTEM, test "$have_w32_system" = yes)</div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
-</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 # A printable OS Name is sometimes useful.</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 case "${host}" in</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
     *-*-mingw32*)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
@@ -318,11 +321,29 @@ case "${host}" in</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
         PRINTABLE_OS_NAME="GNU/Linux"</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
         ;;</div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+    *-openedition*)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+        PRINTABLE_OS_NAME="IBM z/OS"</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+        ;;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
     *)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
         PRINTABLE_OS_NAME=`uname -s || echo "Unknown"`</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
         ;;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 esac</div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+# Set some variables for build platform helpers.</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+case "$build_os" in</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+    *openedition*)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+        PKG_CHECK_MODULES([ZOSLIB], [zoslib],</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+                          [EXTRA_LIBS_FOR_BUILD="$ZOSLIB_LIBS"],</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+                          [AC_MSG_ERROR([zoslib not found. Please ensure zoslib.pc is in PKG_CONFIG_PATH.])])</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+         ;;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+    *)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+        EXTRA_LIBS_FOR_BUILD=""</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+     ;;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+esac</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+AC_SUBST(EXTRA_LIBS_FOR_BUILD)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 NAME_OF_DEV_RANDOM="/dev/random"</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 NAME_OF_DEV_URANDOM="/dev/urandom"</div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
@@ -3029,6 +3050,13 @@ AC_CHECK_FUNCS(stpcpy strcasecmp)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 # We have replacements for these in src/g10lib.h</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 AC_CHECK_FUNCS(strtoul memmove stricmp atexit raise)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 # Other checks</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+case "$host_os" in</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+    *openedition*)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+        # mmap is not fully supported on z/os.</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+        ac_cv_func_mmap=no</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+        ;;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+esac</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 AC_CHECK_FUNCS(strerror rand mmap getpagesize sysconf waitpid wait4)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 AC_CHECK_FUNCS(gettimeofday getrusage gethrtime clock_gettime syslog)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 AC_CHECK_FUNCS(syscall fcntl ftruncate flockfile getauxval elf_aux_info)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
diff --git a/doc/Makefile.am b/doc/Makefile.am</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
index 2501e5da..f5432700 100644</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
--- a/doc/Makefile.am</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+++ b/doc/Makefile.am</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
@@ -40,7 +40,7 @@ myman_pages   = hmac256.1</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 man_MANS = $(myman_pages)</div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 yat2m$(EXEEXT_FOR_BUILD): yat2m.c</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
-     $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+     $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(EXTRA_LIBS_FOR_BUILD) \</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          $(CPPFLAGS_FOR_BUILD) -o $@ $(srcdir)/yat2m.c</div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 .fig.png:</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
diff --git a/m4/libtool.m4 b/m4/libtool.m4</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
index 102e884d..d4b52744 100644</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
--- a/m4/libtool.m4</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+++ b/m4/libtool.m4</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
@@ -3348,6 +3348,10 @@ openbsd*)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
   fi</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
   ;;</div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+openedition*)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+  lt_cv_deplibs_check_method=pass_all</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+  ;;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 osf3* | osf4* | osf5*)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
   lt_cv_deplibs_check_method=pass_all</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
   ;;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
diff --git a/mpi/longlong.h b/mpi/longlong.h</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
index 9e60592a..46de33a8 100644</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
--- a/mpi/longlong.h</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+++ b/mpi/longlong.h</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
@@ -1505,7 +1505,7 @@ extern USItype __udiv_qrnnd (USItype *, USItype, USItype, USItype);</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 /***************************************</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
  *********** s390x/zSeries  ************</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
  ***************************************/</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
-#if defined (__s390x__) && W_TYPE_SIZE == 64 && __GNUC__ >= 4</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+#if defined (__s390x__) && !defined (__MVS__) && W_TYPE_SIZE == 64 && __GNUC__ >= 4</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 # define add_ssaaaa(sh, sl, ah, al, bh, bl) \</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
   __asm__ ("algr %1,%5\n"                                               \</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
         "alcgr %0,%3\n"                                              \</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
diff --git a/src/secmem.c b/src/secmem.c</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
index 19cf1ad4..7c5cac76 100644</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
--- a/src/secmem.c</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+++ b/src/secmem.c</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
@@ -365,6 +365,10 @@ lock_pool_pages (void *p, size_t n)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
      * this whole Windows !@#$% and their user base are inherently insecure. */</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
   (void)p;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
   (void)n;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+#elif defined (__MVS__)</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+  /* On z/OS secure memory locking is not implemented */</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+  (void)p;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+  (void)n;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
 #else</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
   (void)p;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
   (void)n;</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
--</div>
<div style="font-family: Aptos, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2.51.0</div>
</body>
</html>