public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/26811] New: adapt to kernel 5.10 set_fs() removal
@ 2020-10-29 15:22 me at serhei dot io
  2020-11-04 21:00 ` [Bug runtime/26811] " me at serhei dot io
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: me at serhei dot io @ 2020-10-29 15:22 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=26811

            Bug ID: 26811
           Summary: adapt to kernel 5.10 set_fs() removal
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: me at serhei dot io
  Target Milestone: ---

We use set_fs() across a number of places in the runtime along with the related
get_fs,USER_DS,KERNEL_DS. Go through and excise these uses when STAPCONF_SET_FS
is not active, in favour of other mechanism(s(?)).

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug runtime/26811] adapt to kernel 5.10 set_fs() removal
  2020-10-29 15:22 [Bug runtime/26811] New: adapt to kernel 5.10 set_fs() removal me at serhei dot io
@ 2020-11-04 21:00 ` me at serhei dot io
  2020-11-05 18:25 ` me at serhei dot io
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: me at serhei dot io @ 2020-11-04 21:00 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=26811

--- Comment #1 from Serhei Makarov <me at serhei dot io> ---
Pushed a commit 016750508e1 which fixes the worst of it. There are still some
problems with kernel faults (e.g. systemtap.examples whythefail.stp) which
didn't occur in testing on older kernels.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug runtime/26811] adapt to kernel 5.10 set_fs() removal
  2020-10-29 15:22 [Bug runtime/26811] New: adapt to kernel 5.10 set_fs() removal me at serhei dot io
  2020-11-04 21:00 ` [Bug runtime/26811] " me at serhei dot io
@ 2020-11-05 18:25 ` me at serhei dot io
  2020-11-05 18:33 ` me at serhei dot io
  2024-02-21 13:10 ` fche at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: me at serhei dot io @ 2020-11-05 18:25 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=26811

--- Comment #2 from Serhei Makarov <me at serhei dot io> ---
Also spotted a concerning failure in usymbols.exp (umodname() segfaults user
process) but I'm not sure it's related to the set_fs() removal work.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug runtime/26811] adapt to kernel 5.10 set_fs() removal
  2020-10-29 15:22 [Bug runtime/26811] New: adapt to kernel 5.10 set_fs() removal me at serhei dot io
  2020-11-04 21:00 ` [Bug runtime/26811] " me at serhei dot io
  2020-11-05 18:25 ` me at serhei dot io
@ 2020-11-05 18:33 ` me at serhei dot io
  2024-02-21 13:10 ` fche at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: me at serhei dot io @ 2020-11-05 18:33 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=26811

--- Comment #3 from Serhei Makarov <me at serhei dot io> ---
Suggest flagging this in stap4.4 release notes as follows:

- There are known issues on kernel 5.10+ after adapting to set_fs() removal,
with some memory accesses that previously returned valid data instead returning
-EFAULT (see PR26811).

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug runtime/26811] adapt to kernel 5.10 set_fs() removal
  2020-10-29 15:22 [Bug runtime/26811] New: adapt to kernel 5.10 set_fs() removal me at serhei dot io
                   ` (2 preceding siblings ...)
  2020-11-05 18:33 ` me at serhei dot io
@ 2024-02-21 13:10 ` fche at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2024-02-21 13:10 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=26811

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |fche at redhat dot com

--- Comment #4 from Frank Ch. Eigler <fche at redhat dot com> ---
previously done and followed up in bug #30456

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-21 13:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-29 15:22 [Bug runtime/26811] New: adapt to kernel 5.10 set_fs() removal me at serhei dot io
2020-11-04 21:00 ` [Bug runtime/26811] " me at serhei dot io
2020-11-05 18:25 ` me at serhei dot io
2020-11-05 18:33 ` me at serhei dot io
2024-02-21 13:10 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).