-
- Downloads
elf: Add initial flag argument to __libc_early_init
The rseq initialization should happen only for the libc in the base
namespace (in the dynamic case) or the statically linked libc. The
__libc_multiple_libcs flag does not quite cover this case at present,
so this commit introduces a flag argument to __libc_early_init,
indicating whether the libc being libc is the primary one (of the main
program).
Reviewed-by:
Carlos O'Donell <carlos@redhat.com>
Showing
- csu/libc-start.c 2 additions, 1 deletioncsu/libc-start.c
- elf/dl-call-libc-early-init.c 2 additions, 2 deletionself/dl-call-libc-early-init.c
- elf/dl-open.c 15 additions, 2 deletionself/dl-open.c
- elf/libc-early-init.h 7 additions, 4 deletionself/libc-early-init.h
- elf/libc_early_init.c 1 addition, 1 deletionelf/libc_early_init.c
- elf/rtld.c 4 additions, 2 deletionself/rtld.c
Loading