This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Stepping over longjmp presumably broken for glibc


Ulrich Drepper <drepper <at> redhat.com> writes:

> 
> Roland McGrath wrote:
> > I'm somewhat concerned that the jmp_buf "fortification" change is going to
> > break some applications too.
> 
> This is why there is LD_POINTER_GUARD.  Defining it to 0 disables the 
> protection.
> 


Hmm, looking at the source (elf/rtld.c):

          if (memcmp (envline, "POINTER_GUARD", 13) == 0)
            GLRO(dl_pointer_guard) = envline[14] == '0';
          break;

Isn't it backward? Having "POINTER_GUARD=0" sets _dl_pointer_guard to 1
which is already 1 by default. Am I missing something?

Thanks!
Gene



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]