From: Yaakov Selkowitz <yselkowi@redhat.com>
To: newlib@sourceware.org
Subject: [PATCH v5 09/10] cygwin: export SSP functions
Date: Wed, 29 Nov 2017 09:51:00 -0000 [thread overview]
Message-ID: <20171129094300.20296-10-yselkowi@redhat.com> (raw)
In-Reply-To: <20171129094300.20296-1-yselkowi@redhat.com>
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
---
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 55fa9b16c..a482cf2b7 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 8b85f863f..d8bb3ee44 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
--
2.15.0
next prev parent reply other threads:[~2017-11-29 9:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-29 9:49 [PATCH v5 00/10] Add Stack Smashing Protection and Object Size Checking Yaakov Selkowitz
2017-11-29 9:43 ` [PATCH v5 02/10] ssp: add Object Size Checking common code Yaakov Selkowitz
2017-11-29 9:43 ` [PATCH v5 07/10] ssp: add documentation Yaakov Selkowitz
2017-11-29 9:43 ` [PATCH v5 01/10] ssp: add APIs for Stack Smashing Protection Yaakov Selkowitz
2017-11-29 9:43 ` [PATCH v5 03/10] ssp: add Object Size Checking for string.h Yaakov Selkowitz
2017-11-29 9:43 ` [PATCH v5 05/10] ssp: add Object Size Checking for stdio.h, part 1 Yaakov Selkowitz
2017-11-29 9:51 ` Yaakov Selkowitz [this message]
2017-11-29 9:51 ` [PATCH v5 06/10] ssp: add Object Size Checking for unistd.h, " Yaakov Selkowitz
2017-11-29 9:51 ` [PATCH v5 10/10] cygwin: create libssp compatibility import library Yaakov Selkowitz
2017-11-29 9:53 ` [PATCH v5 08/10] ssp: add build infrastructure Yaakov Selkowitz
2017-11-29 17:22 ` [PATCH v5 04/10] ssp: add Object Size Checking for strings.h Yaakov Selkowitz
2017-11-30 1:43 ` [PATCH v5 00/10] Add Stack Smashing Protection and Object Size Checking Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171129094300.20296-10-yselkowi@redhat.com \
--to=yselkowi@redhat.com \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).