This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v3 0/3] elf: Allow dlopen of filter object to work [BZ #16272]
- From: David Kilroy <David dot Kilroy at arm dot com>
- To: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc: nd <nd at arm dot com>
- Date: Tue, 3 Dec 2019 17:30:10 +0000
- Subject: [PATCH v3 0/3] elf: Allow dlopen of filter object to work [BZ #16272]
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=enrtauk3zhV+nayiYnop0ldhtmGKLgUuxQx22b6sr/E=; b=lfRV4WWw+YHBGRl7lvVNiY9+zxBJfCOe+wiyik7BEWAq6irXNv1hfYzZttylZ3ywqme78Z80KCCMFHxlrKxcfMgg4miDWJWGHt2KxMRr3Eg+SzdcBngwDJGBysj3Nsv1H41TEr5XT0VtxQRW0RbclP2GoeNKLb49srme//yqcQPwEwlBBGjNCJygTlhuZvSR5+nR8bRCBC9dAKsFBPQlkhx6/n2+UY0yC1gLFuuJnGtXEr2VVRA7uFDMjlOxWWsNRGA+aGJNYsi4vK0QI51XiaUVGUb2OYMB6Yp1OoM09sh+4OhoCTKSCTbu7es8v18CEBzbPS8ceA4thewzKs8NYg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RPW3F7XyhxVBM+fH8OiGwCxSFS66qxzhK/83PWO01BVwoGSWqiNr5WnP7pkr8n1v6Yo4cOoKfDFYgaGbVjVUUi8a9485EEV+zkbg0V2gOfj/1BGjIzE9XCOl1jLcb5cYyT9ilwCcp3v0Gel3edanQuYLy8npn4mbr+IOdFX+ospkfkXpHbs0yr6AaUAQcxXTpLE8YB65dcwrmWzxAcEPL0AW41VoMV7wt23lhqxFbXAsxBvwHiQAKPlFrMfboRGzBAanYguhqePoAGV2p3JX/hD+A35EWEuLUR5Ujd+H2bVm9weH2leT5KaIIYjNSGkj9F6q6M2MxP1u++oZx223GQ==
- Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=David dot Kilroy at arm dot com;
Repost of v2 with updated commit message resulting from follow-up
tests with a different implementation.
I'd still like to see this fixed, but the last patchset didn't get any
responses.
v3:
- rebased for changes in elf/Makefile
- updates to commit messages
v2:
https://sourceware.org/ml/libc-alpha/2019-10/msg00701.html
- code formatting fixups
- add dependency of test output on filtee library
- tests changed to use the test framework
v1:
https://sourceware.org/ml/libc-alpha/2019-10/msg00519.html
David Kilroy (3):
elf: Allow dlopen of filter object to work [BZ #16272]
elf: avoid redundant sort in dlopen
elf: avoid stack allocation in dl_open_worker
elf/Makefile | 12 ++++++++++--
elf/dl-deps.c | 35 ++++++++++++++++++++++++++---------
elf/dl-open.c | 32 +++++++++++++++-----------------
elf/tst-filterobj-dlopen.c | 39 +++++++++++++++++++++++++++++++++++++++
elf/tst-filterobj-flt.c | 24 ++++++++++++++++++++++++
elf/tst-filterobj-lib.c | 24 ++++++++++++++++++++++++
elf/tst-filterobj-lib.h | 18 ++++++++++++++++++
elf/tst-filterobj.c | 36 ++++++++++++++++++++++++++++++++++++
8 files changed, 192 insertions(+), 28 deletions(-)
create mode 100644 elf/tst-filterobj-dlopen.c
create mode 100644 elf/tst-filterobj-flt.c
create mode 100644 elf/tst-filterobj-lib.c
create mode 100644 elf/tst-filterobj-lib.h
create mode 100644 elf/tst-filterobj.c
--
2.7.4