freebsd-dev/lib/libssp/Symbol.map
Kyle Evans cd0d51baaa Provide libssp based on libc
For libssp.so, rebuild stack_protector.c with FORTIFY_SOURCE stubs that just
abort built into it.

For libssp_nonshared.a, steal stack_protector_compat.c from
^/lib/libc/secure and massage it to maintain that __stack_chk_fail_local
is a hidden symbol.

libssp is now built unconditionally regardless of {WITH,WITHOUT}_SSP in the
build environment, and the gcclibs version has been disconnected from the
build in favor of this one.

PR:		242950 (exp-run)
Reviewed by:	kib, emaste, pfg, Oliver Pinter (earlier version)
Also discussed with:	kan
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D22943
2020-01-04 20:19:25 +00:00

27 lines
472 B
Plaintext

/*
* $FreeBSD$
*/
LIBSSP_1.0 {
__chk_fail;
__stack_chk_fail;
__stack_chk_guard;
/*
* Currently unsupported: _FORTIFY_SOURCE symbols. It is believed
* that these have never been used on FreeBSD, as our headers lack the
* support that would have generated references to them.
*/
__memcpy_chk;
__memset_chk;
__snprintf_chk;
__sprintf_chk;
__stpcpy_chk;
__strcat_chk;
__strcpy_chk;
__strncat_chk;
__strncpy_chk;
__vsnprintf_chk;
__vsprintf_chk;
};