newlib-cygwin/newlib/libc/include/sys
Yaakov Selkowitz 3e8fc7d9f2 ssp: add Object Size Checking common code
The Object Size Checking (-D_FORTIFY_SOURCE=*) functionality provides
wrappers around functions suspectible to buffer overflows.  While
independent from Stack Smashing Protection (-fstack-protector*), they
are often used and implemented together.

While GCC also provides an implementation in libssp, it is completely
broken (CVE-2016-4973, RHBZ#1324759) and seemingly unfixable, as there
is no reliable way for a preprocessor macro to trigger a link flag.
Therefore, adding this here is necessary to make it work.

Note that this does require building gcc with --disable-libssp and
gcc_cv_libc_provides_ssp=yes.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-11-29 11:25:39 -06:00
..
_default_fcntl.h Cygwin: fcntl.h: Use test macros to guard non-standard open flags 2017-11-14 21:45:31 +01:00
_intsup.h Provide __intmax_t and __uintmax_t 2016-10-25 16:24:05 +02:00
_pthreadtypes.h Fix guard for siginfo_t and pthread_t definition 2017-06-19 13:00:05 +02:00
_sigset.h FreeBSD compatibility for <sys/select.h> 2015-12-14 15:39:44 +01:00
_stdint.h Provide __intmax_t and __uintmax_t 2016-10-25 16:24:05 +02:00
_timespec.h Add BSD guard for time_t 2016-04-15 14:51:39 +02:00
_timeval.h Add BSD guard for time_t 2016-04-15 14:51:39 +02:00
_types.h Change time_t to 64-bit by default 2017-09-07 15:39:34 +02:00
cdefs.h Make __nonnull macro compatible with glibc 2017-11-28 10:26:29 -06:00
config.h Change time_t to 64-bit by default 2017-09-07 15:39:34 +02:00
custom_file.h
dir.h * libc/include/sys/dir.h: New BSD-compatibility header. 2010-08-11 18:14:54 +00:00
dirent.h
errno.h * libc/include/sys/errno.h: Fix comments. 2014-07-14 13:40:17 +00:00
fcntl.h
features.h ssp: add Object Size Checking common code 2017-11-29 11:25:39 -06:00
file.h
iconvnls.h
lock.h Allow locking routine to be retargeted 2017-02-13 17:07:11 -05:00
param.h Move fd_stuff from sys/types.h to sys/select.h 2015-12-07 16:28:22 +01:00
queue.h Renumber copyright clause 4 2017-04-04 12:16:05 +02:00
reent.h Introduce _REENT_GLOBAL_STDIO_STREAMS 2017-06-30 07:45:16 +02:00
resource.h 2014-11-23 Joel Sherrill <joel.sherrill@oarcorp.com> 2014-11-24 14:12:32 +00:00
sched.h Add and use latest <sys/timespec.h> from FreeBSD 2015-03-11 15:45:38 +01:00
select.h Feature test macros overhaul: sys/select.h 2016-03-17 21:09:15 -05:00
signal.h Fix guard for siginfo_t and pthread_t definition 2017-06-19 13:00:05 +02:00
stat.h Provide POSIX defined blksize_t in <sys/types.h> 2016-04-15 14:51:40 +02:00
stdio.h
string.h
syslimits.h
time.h sys/time.h: Change visibility of gettimeofday. 2016-06-20 10:11:24 +02:00
timeb.h Add BSD guard for time_t 2016-04-15 14:51:39 +02:00
times.h Add BSD guard for clock_t 2016-04-15 14:51:39 +02:00
timespec.h Add and use latest <sys/timespec.h> from FreeBSD 2015-03-11 15:45:38 +01:00
tree.h Import <sys/tree.h> from FreeBSD 2015-04-23 21:57:06 +02:00
types.h Move pthread types to <sys/_pthreadtypes.h> 2016-11-17 11:33:15 +01:00
unistd.h Feature test macros overhaul: unistd.h, part 2 2017-06-30 10:48:23 -05:00
utime.h
wait.h Fix comment in sys/wait.h 2015-05-28 16:40:43 +02:00