summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs/rtld/sparc/sparc_elf.c
diff options
context:
space:
mode:
authorraf <none@none>2008-04-29 14:12:45 -0700
committerraf <none@none>2008-04-29 14:12:45 -0700
commit8cd45542f2a452ca0dab13d8b2d5cfa876ccbebc (patch)
tree0571ec3284912727f3d8ba667ed57b4cc6afb8cd /usr/src/cmd/sgs/rtld/sparc/sparc_elf.c
parent31e69ea4bce567a03de57e063cb36ef69af61470 (diff)
downloadillumos-joyent-8cd45542f2a452ca0dab13d8b2d5cfa876ccbebc.tar.gz
6678310 using LD_AUDIT, ld.so.1 calls shared library's .init before library is fully relocated
6689238 libc needs global protection against ld.so.1
Diffstat (limited to 'usr/src/cmd/sgs/rtld/sparc/sparc_elf.c')
-rw-r--r--usr/src/cmd/sgs/rtld/sparc/sparc_elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/sgs/rtld/sparc/sparc_elf.c b/usr/src/cmd/sgs/rtld/sparc/sparc_elf.c
index e2fde63c4e..fb846dd55b 100644
--- a/usr/src/cmd/sgs/rtld/sparc/sparc_elf.c
+++ b/usr/src/cmd/sgs/rtld/sparc/sparc_elf.c
@@ -370,7 +370,7 @@ elf_bndr(Rt_map *lmp, ulong_t pltoff, caddr_t from)
* further process a locking request. Under this recursion we disable
* tsort and cleanup activities.
*/
- entry = enter();
+ entry = enter(0);
if ((lmflags = lml->lm_flags) & LML_FLG_RTLDLM) {
dbg_class = dbg_desc->d_class;
@@ -517,7 +517,7 @@ elf_bndr(Rt_map *lmp, ulong_t pltoff, caddr_t from)
*/
if (entry) {
is_dep_init(nlmp, lmp);
- leave(lml);
+ leave(lml, 0);
}
if (lmflags & LML_FLG_RTLDLM)