1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-10 09:42:26 +00:00
freebsd/lib/libc/secure
Kyle Evans 0c47b9c211 include: ssp: don't shadow the mempcpy builtin
GCC emits a warning about shadowing a builtin with our mempcpy
declaration, so switch it to using the same model as memcpy() and
use the apparently-existing __builtin___mempcpy_chk().

Reviewed by:	kib (earlier version), markj
Sponsored by:	Klara, Inc.
Sponsored by:	Stormshield
Differential Revision:	https://reviews.freebsd.org/D45976
2024-07-16 00:12:28 -05:00
..
fgets_chk.c Import _FORTIFY_SOURCE implementation from NetBSD 2024-05-13 00:23:49 -05:00
Makefile.inc include: ssp: don't shadow the mempcpy builtin 2024-07-16 00:12:28 -05:00
memcpy_chk.c include: de-macro __ssp_overlap(), improve semantics and checking 2024-07-13 00:16:23 -05:00
memmove_chk.c Import _FORTIFY_SOURCE implementation from NetBSD 2024-05-13 00:23:49 -05:00
mempcpy_chk.c include: ssp: don't shadow the mempcpy builtin 2024-07-16 00:12:28 -05:00
memset_chk.c Import _FORTIFY_SOURCE implementation from NetBSD 2024-05-13 00:23:49 -05:00
snprintf_chk.c Import _FORTIFY_SOURCE implementation from NetBSD 2024-05-13 00:23:49 -05:00
sprintf_chk.c Import _FORTIFY_SOURCE implementation from NetBSD 2024-05-13 00:23:49 -05:00
stack_protector_compat.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
stack_protector.c libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
stpcpy_chk.c libc: move __ssp_overlap back out into <ssp/ssp.h> 2024-07-13 00:16:23 -05:00
stpncpy_chk.c libc: move __ssp_overlap back out into <ssp/ssp.h> 2024-07-13 00:16:23 -05:00
strcat_chk.c Import _FORTIFY_SOURCE implementation from NetBSD 2024-05-13 00:23:49 -05:00
strcpy_chk.c libc: move __ssp_overlap back out into <ssp/ssp.h> 2024-07-13 00:16:23 -05:00
strlcat_chk.c include: ssp: round out fortification of current set of headers 2024-07-13 00:16:24 -05:00
strlcpy_chk.c include: ssp: round out fortification of current set of headers 2024-07-13 00:16:24 -05:00
strncat_chk.c Import _FORTIFY_SOURCE implementation from NetBSD 2024-05-13 00:23:49 -05:00
strncpy_chk.c libc: move __ssp_overlap back out into <ssp/ssp.h> 2024-07-13 00:16:23 -05:00
Symbol.map include: ssp: don't shadow the mempcpy builtin 2024-07-16 00:12:28 -05:00
vsnprintf_chk.c Import _FORTIFY_SOURCE implementation from NetBSD 2024-05-13 00:23:49 -05:00
vsprintf_chk.c Import _FORTIFY_SOURCE implementation from NetBSD 2024-05-13 00:23:49 -05:00