This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #18778] Clear DF_1_NODELETE flag only for dlopen failed library.
- From: Andreas Schwab <schwab at suse dot de>
- To: Maxim Ostapenko <m dot ostapenko at partner dot samsung dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, Pavel Kopyl <p dot kopyl at samsung dot com>, Yury Gribov <y dot gribov at samsung dot com>, Roland McGrath <roland at hack dot frob dot com>, GNU C Library <libc-alpha at sourceware dot org>, Carlos O'Donell <carlos at redhat dot com>, Viacheslav Garbuzov <v dot garbuzov at samsung dot com>
- Date: Tue, 11 Aug 2015 09:41:14 +0200
- Subject: Re: [PATCH][BZ #18778] Clear DF_1_NODELETE flag only for dlopen failed library.
- Authentication-results: sourceware.org; auth=none
- References: <54BD4F65 dot 2090108 at samsung dot com> <CAMe9rOr8yDpnHtRFbL3M56Sx5FWX-FVqEstnwsgtW6H+khvziQ at mail dot gmail dot com> <5565C2A8 dot 60306 at samsung dot com> <CAMe9rOq++pD-ugdYFEte49v8TLZEM505J+=WzPTOT_Lo-MdDHQ at mail dot gmail dot com> <5565C862 dot 1040003 at samsung dot com> <CAMe9rOo7TStj3SX8OK8s3H3G=2Pyr1WKTW=R-=SzVFBWY8PF0A at mail dot gmail dot com> <5566395A dot 3090605 at samsung dot com> <CAMe9rOp4Jrz4AE3-C5VmJ0PLmxoST3phyEQt3t59ag6UGbimBw at mail dot gmail dot com> <5567892C dot 4070004 at samsung dot com> <5568A408 dot 2080903 at samsung dot com> <5592AB91 dot 2050709 at samsung dot com> <CAMe9rOoK64VuNfgZ-8_BTqes0tJcpc55atKw1k6ewBTwFzuGKg at mail dot gmail dot com> <5595C0F8 dot 3060300 at samsung dot com> <CAMe9rOof9j6RwGgNGuxXUgBnYXK0c_UAp3zN2Ne4JhHqiZMFEQ at mail dot gmail dot com> <559B829C dot 8080700 at samsung dot com> <CAMe9rOom4ttO2cGYGovagHpu3zy4L7qn+7E4jm7k=5rD+xgNaQ at mail dot gmail dot com> <559BFDDC dot 4010604 at samsung dot com> <mvmpp30o2nw dot fsf at hawking dot suse dot de> <55C4D58D dot 8010307 at partner dot samsung dot com> <CAMe9rOq8_3A0ogN2riC32r+QazmJ5kW+5jg22x9_1z1uZaShVQ at mail dot gmail dot com> <55C89171 dot 8090307 at partner dot samsung dot com>
Maxim Ostapenko <m.ostapenko@partner.samsung.com> writes:
> [BZ #18778]
> * elf/Makefile (tests): Add Add tst-nodelete2.
> (modules-names): Add tst-nodelete2mod.
> (tst-nodelete2mod.so-no-z-defs): New.
> ($(objpfx)tst-nodelete2): Likewise.
> ($(objpfx)tst-nodelete2.out): Likewise.
> (LDFLAGS-tst-nodelete2): Likewise.
> * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
> out of loop through all loaded libraries.
> * elf/tst-nodelete2.c: New file.
> * elf/tst-nodelete2mod.c: Likewise.
Ok. Please also cherry-pick to 2.22 branch.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."