freebsd-src/lib/libthr
Kyle Evans 9bfd3b4076 Add a build knob for _FORTIFY_SOURCE
In the future, we will Default to _FORTIFY_SOURCE=2 if SSP is enabled,
otherwise default to _FORTIFY_SOURCE=0.  For now we default it to 0
unconditionally to ease bisect across older versions without the new
symbols, and we'll put out a call for testing.

include/*.h include their ssp/*.h equivalents as needed based on the
knob. Programs and users are allowed to override FORTIFY_SOURCE in their
Makefiles or src.conf/make.conf to force it off.

Reviewed by:	des, markj
Relnotes:	yes
Sponsored by:	Stormshield
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D32308
2024-05-13 00:23:50 -05:00
..
arch libthr: move _umtx_op_err() to libsys 2024-02-05 20:34:56 +00:00
sys Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
tests Add test for pthread_sigqueue(3) 2024-04-23 19:51:31 +03:00
thread libthr: avoid varargs in fcntl and openat interposers 2024-05-08 15:49:13 +01:00
libthr.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
Makefile Add a build knob for _FORTIFY_SOURCE 2024-05-13 00:23:50 -05:00
Makefile.depend dirdeps: Update/fix Makefile.depend* for toolchain 2023-11-26 20:50:13 -05:00
plockstat.d Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
pthread.map libthr: add pthread_sigqueue(3) 2024-04-23 19:51:22 +03:00