This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Using __chk_fail from libstdc++
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 1 Jun 2012 10:48:55 -0700 (PDT)
- Subject: Re: Using __chk_fail from libstdc++
- References: <4FC8DC86.7020307@redhat.com>
> I would like to add _FORTIFY_SOURCE-style checks to libstdc++ which call
> __chk_fail() on failure. Is this an acceptable use of this symbol?
It is a public exported symbol. So I don't see a problem.