From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C6A5B3858D32; Mon, 13 Mar 2023 20:26:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6A5B3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678739212; bh=1eoJWJw+nzuk2Dle3e3pvCJbStB/ScKDZo6E5sKGZAc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GEZDtEuvl3qv5LRX8McCk0qf0n3HypMjewhEDkMhnUf4uLjm6cmxbvd2ImJvCMM8g 1Jk92IjbTK+l9czXfXzS5u8h5X8IggYRUWa7Opef+KNMh8ty1sjWQRs2RBziNzHfc7 wnvGzNqZRtVa6DhY4YiizIC80DKsdWSOn+kBRVUQ= 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 20:26:52 +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 #47 from Stas Sergeev --- I also need to correct myself referring to 2 different entities as a "shim lib": 1. actual shim lib that sits in a same NS with dlmem()ed lib and forwards the calls to VM. 2. control library that does dlload_audit_module(), dlmem(), makecontext() and all the other housekeeping - that one sits in a main namespace and should not be referred to as a "shim lib". Not sure what level of details you want, but I'll better clarify that before the confusion arises. Another note may be a suggestion to not yet look into the dlmem()&co impl itself. There are good demos and test-cases in the patch, worth taking a look into, as they are there to answer most of the questions. But regarding the dlmem()&co impl itself - I'll rewrite it when this dlload_audit_module() patch settles, as I definitely know more about glibc than back when dlmem() was written. So no need to look into it or criticise it just yet. :) If you do look, please restrict to a test-cases. --=20 You are receiving this mail because: You are on the CC list for the bug.=