glibc/sysdeps/unix/sysv/linux/or1k
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
..
bits
sys
Implies
Makefile
arch-syscall.h
c++-types.data
clone.c
configure
configure.ac
getcontext.S
ld.abilist
libBrokenLocale.abilist
libc.abilist stdlib: Add arc4random, arc4random_buf, and arc4random_uniform (BZ #4417) 2022-07-22 11:58:27 -03:00
libc_malloc_debug.abilist
libcrypt.abilist
libm.abilist
libresolv.abilist
libthread_db.abilist
localplt.data
makecontext.c
mmap_internal.h
or1k_clone.S
setcontext.S
shlib-versions
sigcontextinfo.h
swapcontext.S
sysdep.c
sysdep.h Introduce <pointer_guard.h>, extracted from <sysdep.h> 2022-10-18 17:03:55 +02:00
ucontext_i.sym