This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Pointer guard for static binaries?
- From: Roland McGrath <roland at redhat dot com>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 4 Jan 2006 11:01:22 -0800 (PST)
- Subject: Re: Pointer guard for static binaries?
Ok, these ideas about the relative security (i.e. obscurity) suggest that
tcbhead_t slots are preferable to global slots when thread pointer use is
not impossible or prohibitive, though global slots are better than nothing
and hence used when cheap enough and thread pointer is not (e.g. on x86-64
in ld.so). Porters should decide what measures of "cheap enough" and
"prohibitive" apply to the PIC and thread pointer access on their machines.
Thanks,
Roland