This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] cygwin: export SSP functions
- From: Yaakov Selkowitz <yselkowitz at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 29 Nov 2017 17:27:23 -0000
- Subject: [newlib-cygwin] cygwin: export SSP functions
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6a848db44242a24d6570ef7994918c66ce483fd2
commit 6a848db44242a24d6570ef7994918c66ce483fd2
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date: Mon Nov 27 23:55:11 2017 -0600
cygwin: export SSP functions
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diff:
---
winsup/cygwin/common.din | 19 +++++++++++++++++++
winsup/cygwin/include/cygwin/version.h | 7 ++++++-
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index 55fa9b1..a482cf2 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -7,6 +7,7 @@ __cygwin_user_data DATA
__mb_cur_max DATA
__progname DATA
__rcmd_errstr DATA
+__stack_chk_guard DATA
_check_for_executable DATA
_ctype_ DATA
_daylight DATA
@@ -42,6 +43,7 @@ __assertfail NOSIGFE
__b64_ntop NOSIGFE
__b64_pton NOSIGFE
__bsd_qsort_r NOSIGFE
+__chk_fail SIGFE
__cxa_atexit = cygwin__cxa_atexit SIGFE
__cxa_finalize SIGFE
__dn_comp SIGFE
@@ -62,6 +64,7 @@ __fwritable NOSIGFE
__fwriting NOSIGFE
__getpagesize = getpagesize SIGFE
__getreent NOSIGFE
+__gets_chk SIGFE
__gnu_basename NOSIGFE
__infinity NOSIGFE
__isinfd = isinf NOSIGFE
@@ -72,7 +75,11 @@ __locale_ctype_ptr NOSIGFE
__locale_ctype_ptr_l NOSIGFE
__locale_mb_cur_max NOSIGFE
__main NOSIGFE
+__memcpy_chk NOSIGFE
+__memmove_chk NOSIGFE
__mempcpy = mempcpy NOSIGFE
+__mempcpy_chk NOSIGFE
+__memset_chk NOSIGFE
__opendir_with_d_ino SIGFE
__res_close SIGFE
__res_init SIGFE
@@ -92,10 +99,22 @@ __res_state SIGFE
__signbitd NOSIGFE
__signbitf NOSIGFE
__signgam NOSIGFE
+__snprintf_chk SIGFE
+__sprintf_chk SIGFE
__srget SIGFE
__srget_r SIGFE
+__stack_chk_fail SIGFE
+__stack_chk_fail_local = __stack_chk_fail SIGFE
+__stpcpy_chk NOSIGFE
+__stpncpy_chk NOSIGFE
+__strcat_chk NOSIGFE
+__strcpy_chk NOSIGFE
+__strncat_chk NOSIGFE
+__strncpy_chk NOSIGFE
__swbuf SIGFE
__swbuf_r SIGFE
+__vsnprintf_chk SIGFE
+__vsprintf_chk SIGFE
__wrap__ZdaPv NOSIGFE # void operator delete[](void *p) throw()
__wrap__ZdaPvRKSt9nothrow_t NOSIGFE # void operator delete[](void *p, const std::nothrow_t &nt) throw()
__wrap__ZdlPv NOSIGFE # void operator delete(void *p) throw()
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 8b85f86..d8bb3ee 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -484,12 +484,17 @@ details. */
317: Export renameat2.
318: Export strnstr.
319: Define O_TMPFILE, O_NOATIME.
+ 320: Export __chk_fail, __gets_chk, __memcpy_chk, __memmove_chk,
+ __mempcpy_chk, __memset_chk, __snprintf_chk, __sprintf_chk,
+ __stack_chk_fail, __stack_chk_guard, __stpcpy_chk, __stpncpy_chk,
+ __strcat_chk, __strcpy_chk, __strncat_chk, __strncpy_chk,
+ __vsnprintf_chk, __vsprintf_chk.
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 319
+#define CYGWIN_VERSION_API_MINOR 320
/* There is also a compatibity version number associated with the shared memory
regions. It is incremented when incompatible changes are made to the shared