glibc-2.4 __stack_chk_guard/__pointer_chk_guard
Peter S. Mazinger
ps.m@gmx.net
Tue Mar 7 08:50:00 GMT 2006
Hello!
Both __stack_chk_guard/__pointer_chk_guard are exported unconditionally
(elf/Versions), but they are guarded w/ #ifndef
THREAD_SET_STACK_GUARD/THREAD_SET_POINTER_GUARD in elf/rtld.c and
csu/libc-start.c.
What is the correct approach?
1. Guard them in elf/Versions.
2. Define them unconditionally in the mentioned .c files.
Thanks, Peter
P.S. Please CC me.
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the Libc-alpha
mailing list