OSDN Git Service

ldso: support RTLD_NODELETE and DF_1_NODELETE
authorTimo Teräs <timo.teras@iki.fi>
Thu, 22 Apr 2010 08:28:10 +0000 (08:28 +0000)
committerAustin Foxley <austinf@cetoncorp.com>
Thu, 22 Apr 2010 15:52:17 +0000 (08:52 -0700)
commitb93b98daf0dd45ac52f99fc4d906e5926cdd5239
tree66c617599c0d459a479adc70c33d93c0631fbd8c
parentdfedf78cc696bb51069ca591c3be8f05018d5be1
ldso: support RTLD_NODELETE and DF_1_NODELETE

Honor the nodelete flags so we don't delete shared library if it's
sticky. This is useful for libpthread if it gets pulled in by a
dlopen'ed library.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
ldso/include/dl-elf.h
ldso/ldso/dl-elf.c
ldso/libdl/libdl.c