From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9B2993858C27; Wed, 15 Mar 2023 10:03:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B2993858C27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678874597; bh=qY1PRcvGo4SrF4i6iVBgSti5iUAyHE1sKczIEtxrp2s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gJseKvsaTuhJujuWLZhYZnRmtRKLW8kLg38xmPuYlYYPlLWlD4QckvYzrV1C/udFJ YP6waxPbCmNcVGovPwBqaWazaIbv9uYF6YZCsS84X0+ruhZCL0A5lqr8xFhg0gbAQp 7mgScUtXubJwUzwk86RjarSJIWkAtV+wX1aacvgA= From: "stsp at users dot sourceforge.net" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/30007] rfe: dlopen to specified address Date: Wed, 15 Mar 2023 10:03:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: stsp at users dot sourceforge.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30007 --- Comment #10 from Stas Sergeev --- Created attachment 14753 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14753&action=3Ded= it patches Here is the next impl of dlmem(), this time split into many small patches. I just need to update the log entries and post them to ml. I attach them here for the sake of this discussion. You need to look into patches 2, 3 and 10. 2 and 3 are trivial, and in patch 10 you need to look only at what I do with _dl_map_segments(). In particular, how I add "premap" there, which is actually la_premap_dlmem(). This is the very minimal set of changes you need to see to understand how shm_open() steps into the game. As I believe this part is still not well understood. Don't worry, these changes are really small this time! Please take a look. It will take 5 minutes. --=20 You are receiving this mail because: You are on the CC list for the bug.=