[PATCH 3/8] Enable the pointer guard in the dynamic loader
DJ Delorie
dj@redhat.com
Wed Jun 10 19:37:53 GMT 2026
Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> i386, powerpc, s390, sh and sparc fell back to the generic no-op
> pointer_guard.h in ld.so, so the loader's own setjmp/longjmp and mangled
> function pointers were left unprotected (the other targets already
> mangle in rtld). ld.so is position-independent and sets up
> __pointer_chk_guard_local early in dl_main, so the loader can reach it
> the same way a statically linked program does:
LGTM
Reviewed-by: DJ Delorie <dj@redhat.com>
More information about the Libc-alpha
mailing list