From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CD5BB3858D32; Mon, 13 Nov 2023 03:59:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CD5BB3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699847981; bh=7SQSY240njN3SExyAesSuyLGHRPaZkuoCfWZ1kOWQig=; h=From:To:Subject:Date:From; b=cEBZhAoYiWFitxWywSCw03LXFg/EklBmVuLDFTrYkM1dAw2QK4fQmZEJ8u2bdjhIk IaWFfX5HV6gCr1wenORpDojnpwP8WDya0HQN+PMqr3udTSnemW7ch69ZTSK7lnKSbi NnJLMMye11nrUgPavpHb2hMi+c1OefRRNha8f+uI= From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/31060] New: Early uprobe registration and task-finder target executable path resolving should switch mount namespace to the target process's Date: Mon, 13 Nov 2023 03:59:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: agentzh at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D31060 Bug ID: 31060 Summary: Early uprobe registration and task-finder target executable path resolving should switch mount namespace to the target process's Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: runtime Assignee: systemtap at sourceware dot org Reporter: agentzh at gmail dot com Target Milestone: --- When --target-namespace=3DPID is specified, the early uprobe registration a= nd target program file path resolving in task finder fail to switch the current mount namespace to the target program's. Otherwise we'd see errors like this: ``` ERROR: Couldn't resolve target program file path '/newroot/a.out': -2 ``` I'm preparing a patch to address this issue. --=20 You are receiving this mail because: You are the assignee for the bug.=