From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26427 invoked by alias); 23 Apr 2013 01:38:53 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 26407 invoked by uid 48); 23 Apr 2013 01:38:50 -0000 From: "jistone at redhat dot com" To: systemtap@sourceware.org Subject: [Bug dyninst/15387] New: Add stapdyn functions to get/set errno Date: Tue, 23 Apr 2013 01:38:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: dyninst X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jistone at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-q2/txt/msg00055.txt.bz2 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.