public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/23890] New: on f29 and later, elf segment/plt rearrangement leads to buildid verification errors
@ 2018-11-15 20:03 fche at redhat dot com
  2018-11-15 23:48 ` [Bug runtime/23890] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2018-11-15 20:03 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 23890
           Summary: on f29 and later, elf segment/plt rearrangement leads
                    to buildid verification errors
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

$ eu-readelf -l /bin/stap
Program Headers:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz
  Flg Align
  PHDR           0x000040 0x0000000000000040 0x0000000000000040 0x0002a0
0x0002a0 R   0x8
  INTERP         0x0002e0 0x00000000000002e0 0x00000000000002e0 0x00001c
0x00001c R   0x1
        [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
  LOAD           0x000000 0x0000000000000000 0x0000000000000000 0x02df40
0x02df40 R   0x1000
  LOAD           0x02e000 0x000000000002e000 0x000000000002e000 0x265415
0x265415 R E 0x1000

  Segment Sections...
   00     
   01      [RO: .interp]
   02      [RO: .interp .note.gnu.property .note.ABI-tag .note.gnu.build-id
.gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt]
   03      [RO: .init .plt .plt.sec .text .fini]

but ... uprobes-inode.c ignores segment #2 (with the .notes) because it is
non-executable:

00777         /* Check non-writable, executable sections for probes. */
00778         if ((vm_flags & VM_EXEC) && !(vm_flags & VM_WRITE))
00779                 rc = stapiu_change_plus(target, task, addr, length,
00780                                         offset, vm_flags,
dentry->d_inode);

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

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

* [Bug runtime/23890] on f29 and later, elf segment/plt rearrangement leads to buildid verification errors
  2018-11-15 20:03 [Bug runtime/23890] New: on f29 and later, elf segment/plt rearrangement leads to buildid verification errors fche at redhat dot com
@ 2018-11-15 23:48 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2018-11-15 23:48 UTC (permalink / raw)
  To: systemtap

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
commit fba365b4d365

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

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

end of thread, other threads:[~2018-11-15 23:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-15 20:03 [Bug runtime/23890] New: on f29 and later, elf segment/plt rearrangement leads to buildid verification errors fche at redhat dot com
2018-11-15 23:48 ` [Bug runtime/23890] " 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).