2
0
mirror of git://sourceware.org/git/glibc.git synced 2025-03-31 14:01:18 +08:00
Florian Weimer 88f4b6929c Introduce <pointer_guard.h>, extracted from <sysdep.h>
This allows us to define a generic no-op version of PTR_MANGLE and
PTR_DEMANGLE.  In the future, we can use PTR_MANGLE and PTR_DEMANGLE
unconditionally in C sources, avoiding an unintended loss of hardening
due to missing include files or unlucky header inclusion ordering.

In i386 and x86_64, we can avoid a <tls.h> dependency in the C
code by using the computed constant from <tcb-offsets.h>.  <sysdep.h>
no longer includes these definitions, so there is no cyclic dependency
anymore when computing the <tcb-offsets.h> constants.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2022-10-18 17:03:55 +02:00
..
2022-08-29 01:42:47 +02:00
2022-08-29 01:42:47 +02:00
2022-08-29 01:42:47 +02:00
2022-01-16 00:02:16 +01:00
2022-08-29 01:42:47 +02:00
2022-09-26 16:58:08 +01:00
2021-12-28 10:28:22 +01:00
2022-08-29 01:42:47 +02:00
2021-04-12 00:23:36 +02:00
2022-08-29 01:42:47 +02:00