public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/10601] New: user-space deref/registers in loc2c
@ 2009-09-03 21:05 fche at redhat dot com
  2009-09-03 21:11 ` [Bug runtime/10601] " jistone at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: fche at redhat dot com @ 2009-09-03 21:05 UTC (permalink / raw)
  To: systemtap

For secure/robust memory and register access for user-space $target expressions,
the translator must parametrize loc2c to emit different calls for user-space
probes than for kernel-space ones.  This is partly so that user-space $pointers
can't poke at kernel memories, and vice versa.

Related, the user-space register/memory access logic must become aware of
32-bit vs. 64-bit user-space processes on a 64-bit host.  For registers,
this appears to require use of the proper utrace regset machinery instead
of poking at pt_regs.

-- 
           Summary: user-space deref/registers in loc2c
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10601

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

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

end of thread, other threads:[~2009-11-05 13:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-03 21:05 [Bug runtime/10601] New: user-space deref/registers in loc2c fche at redhat dot com
2009-09-03 21:11 ` [Bug runtime/10601] " jistone at redhat dot com
2009-09-04  7:05 ` mjw at redhat dot com
2009-11-05 13:57 ` 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).