From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BF14E3858C66; Mon, 13 Mar 2023 11:17:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF14E3858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678706259; bh=wnzn3v7wAMxrA/oDi8khKWeg3j9QCzXVm+pSTUZkGnc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZTpSgYh2XkVttcTzQH9YQU9Pw+Vqhj57FSrteIv2baVLXFUpK3jcXCzPfYqXxo9Ve eaZmrnPe1S/KklU7S67/1ItXUvr7w5/QLoGnSucXvhUSv/DyiO2C3dwExmR3EPUdNH vm4T34Rf8dg75Z6kbA1IeIPTq4rjYeQpi+jCIBW8= From: "stsp at users dot sourceforge.net" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/30127] [rfe]: enable ld audit at run-time Date: Mon, 13 Mar 2023 11:17:39 +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: 2.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: security- X-Bugzilla-Changed-Fields: 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=3D30127 --- Comment #46 from Stas Sergeev --- So let me summarize that memfd_create() (shm_open() actually) is not a replacement, but rather is an essential part of the scheme. Using it together with la_premap_dlmem() and la_premap() you can get the desired picture. Desired picture is 2 identical mappings of the same lib, one at relolc_addr, one at mmap_addr=3Dreloc_addr+VM_window_start. There is basically nothing else! That scheme is very simple to describe, but not that simple to grok from that description, as no one have tried that layout yet. --=20 You are receiving this mail because: You are on the CC list for the bug.=