From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4D1F03857014; Wed, 17 May 2023 00:21:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D1F03857014 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1684282901; bh=OSzJr6YOMqcanUwvkGU38MvMsALZyUeXTulkfhIi2sA=; h=From:To:Subject:Date:From; b=M0itz9lnKICSSrI9+0xqfIB9Dnoya98+qInlMS5QzCBnNyFXelP8KT+Bxp8rb6bZN 8ftJB13OKT2w7au2nr+oQV44qkpxOlXnlH3sSDG/bmc510THP99b3h1DZy4hpn3v7B J2KOlU9G16gUUwcWlDDfiaENLqiIkfooPhiSBwzg= From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/30456] New: Kernel 5.18+ retired set_fs() and replaced it with the user_access_begin/end() pair for userland memory accesses Date: Wed, 17 May 2023 00:21: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=3D30456 Bug ID: 30456 Summary: Kernel 5.18+ retired set_fs() and replaced it with the user_access_begin/end() pair for userland memory accesses 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: --- Currently, the stap runtime does nothing for kernel 5.18+ without set_fs(), which is wrong at least on x86 for userland accesses. I'm preparing a fix by switching to the new replacement API, user_access_begin() and user_access_end(). --=20 You are receiving this mail because: You are the assignee for the bug.=