This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH] cygwin: Export explicit_bzero
- From: Yaakov Selkowitz <yselkowi at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 2 Aug 2017 01:11:28 -0500
- Subject: [PATCH] cygwin: Export explicit_bzero
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=yselkowi at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4BF9EC24EE81
This was added to newlib together with timingsafe_*cmp but never exported.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
---
winsup/cygwin/common.din | 1 +
winsup/cygwin/include/cygwin/version.h | 3 ++-
winsup/doc/posix.xml | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index 08baa9e07..73e676841 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -433,6 +433,7 @@ exp2f NOSIGFE
exp2l NOSIGFE
expf NOSIGFE
expl NOSIGFE
+explicit_bzero NOSIGFE
expm1 NOSIGFE
expm1f NOSIGFE
expm1l NOSIGFE
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index bbb632626..ce548b13a 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -478,12 +478,13 @@ details. */
311: Export __xpg_sigpause.
312: Export strverscmp, versionsort.
313: Export fls, flsl, flsll.
+ 314: Export explicit_bzero.
Note that we forgot to bump the api for ualarm, strtoll, strtoull,
sigaltstack, sethostname. */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 313
+#define CYGWIN_VERSION_API_MINOR 314
/* There is also a compatibity version number associated with the shared memory
regions. It is incremented when incompatible changes are made to the shared
diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml
index bc506434f..5ce5988bc 100644
--- a/winsup/doc/posix.xml
+++ b/winsup/doc/posix.xml
@@ -1139,6 +1139,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
endusershell
err
errx
+ explicit_bzero
feof_unlocked
ferror_unlocked
fflush_unlocked
--
2.13.2