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). strlcat strlcpy strsep + timingsafe_bcmp + timingsafe_memcmp updwtmp valloc verr