Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-03-06 20:54:42 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2017-03-07 21:40:35 +0300
commitb9498f17f962bdbdb743f413f753a3639d9f9867 (patch)
tree5e440237504a807496d36761d9b81a31707074a7
parenteed33fa2c4687bc6b4e800d56034095b2ca2c1e4 (diff)
Export timingsafe_bcmp and timingsafe_memcmp
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
-rw-r--r--winsup/cygwin/common.din2
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
-rw-r--r--winsup/cygwin/release/2.7.11
-rw-r--r--winsup/doc/posix.xml2
4 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index 8c9af216b..6cbb012fc 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -1437,6 +1437,8 @@ timer_gettime SIGFE
timer_settime SIGFE
times SIGFE
timezone SIGFE
+timingsafe_bcmp NOSIGFE
+timingsafe_memcmp NOSIGFE
tmpfile SIGFE
tmpnam SIGFE
toascii NOSIGFE
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index b647ae91c..308bc8b0f 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -471,12 +471,13 @@ details. */
304: Export strerror_l, strptime_l, wcsftime_l.
305: [f]pathconf flag _PC_CASE_INSENSITIVE added.
306: Export getentropy, getrandom.
+ 307: Export timingsafe_bcmp, timingsafe_memcmp.
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 306
+#define CYGWIN_VERSION_API_MINOR 307
/* 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/cygwin/release/2.7.1 b/winsup/cygwin/release/2.7.1
index 9657e1d5c..227d7a2a8 100644
--- a/winsup/cygwin/release/2.7.1
+++ b/winsup/cygwin/release/2.7.1
@@ -1,6 +1,7 @@
What's new:
-----------
+- New API: timingsafe_bcmp, timingsafe_memcmp
What changed:
-------------
diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml
index e80da4d0d..fac32b771 100644
--- a/winsup/doc/posix.xml
+++ b/winsup/doc/posix.xml
@@ -1232,6 +1232,8 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
strlcat
strlcpy
strsep
+ timingsafe_bcmp
+ timingsafe_memcmp
updwtmp
valloc
verr