about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/pkey_mprotect.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:50 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:50 +0200
commitf79f2065817e080f65f3c3a2fee966f5a97f1746 (patch)
tree1ee9c2bccdd0360bf9ef31e1cc7b662abcac32a5 /sysdeps/unix/sysv/linux/pkey_mprotect.c
parent5715c29e91076800418833f2196f2082f439da75 (diff)
downloadglibc-f79f2065817e080f65f3c3a2fee966f5a97f1746.tar.gz
glibc-f79f2065817e080f65f3c3a2fee966f5a97f1746.tar.xz
glibc-f79f2065817e080f65f3c3a2fee966f5a97f1746.zip
nptl: Move legacy unwinding implementation into libc
It is still used internally.  Since unwinding is now available
unconditionally, avoid indirect calls through function pointers loaded
from the stack by inlining the non-cancellation cleanup code.  This
avoids a regression in security hardening.

The out-of-line  __libc_cleanup_routine implementation is no longer
needed because the inline definition is now static __always_inline.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/pkey_mprotect.c')
0 files changed, 0 insertions, 0 deletions