public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug dyninst/15387] New: Add stapdyn functions to get/set errno
@ 2013-04-23  1:38 jistone at redhat dot com
  2021-01-08 20:51 ` [Bug dyninst/15387] " scox at redhat dot com
  2021-01-18 19:08 ` scox at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2013-04-23  1:38 UTC (permalink / raw)
  To: systemtap

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

             Bug #: 15387
           Summary: Add stapdyn functions to get/set errno
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: dyninst
        AssignedTo: systemtap@sourceware.org
        ReportedBy: jistone@redhat.com
    Classification: Unclassified


On entering handlers from within Dyninst, we currently save the current errno
and restore it as we leave, so we don't destroy its value by anything called
from the handler.  However, some scripts may wish to retrieve the process'
original errno for analysis, and maybe even set it to something else.  We could
conceivable provide tapset functions to get/set our saved errno.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug dyninst/15387] Add stapdyn functions to get/set errno
  2013-04-23  1:38 [Bug dyninst/15387] New: Add stapdyn functions to get/set errno jistone at redhat dot com
@ 2021-01-08 20:51 ` scox at redhat dot com
  2021-01-18 19:08 ` scox at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: scox at redhat dot com @ 2021-01-08 20:51 UTC (permalink / raw)
  To: systemtap

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

Stan Cox <scox at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |scox at redhat dot com

--- Comment #1 from Stan Cox <scox at redhat dot com> ---
Date:   Fri Jan 8 15:38:42 2021 -0500
Add stapdyn VMA-tracking.

partially fixes this but there are odd cases (see tls.exp) where the relocated
address matches __errno_location () but the errno retrieval fails.

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

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

* [Bug dyninst/15387] Add stapdyn functions to get/set errno
  2013-04-23  1:38 [Bug dyninst/15387] New: Add stapdyn functions to get/set errno jistone at redhat dot com
  2021-01-08 20:51 ` [Bug dyninst/15387] " scox at redhat dot com
@ 2021-01-18 19:08 ` scox at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: scox at redhat dot com @ 2021-01-18 19:08 UTC (permalink / raw)
  To: systemtap

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

Stan Cox <scox at redhat dot com> changed:

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

--- Comment #2 from Stan Cox <scox at redhat dot com> ---
Fixed by commit 1529bfce8

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

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

end of thread, other threads:[~2021-01-18 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-23  1:38 [Bug dyninst/15387] New: Add stapdyn functions to get/set errno jistone at redhat dot com
2021-01-08 20:51 ` [Bug dyninst/15387] " scox at redhat dot com
2021-01-18 19:08 ` scox 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).