public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/13645] New: isolate strftime to stapio
@ 2012-02-01 17:55 jistone at redhat dot com
  2014-08-18 19:24 ` [Bug runtime/13645] " quae at daurnimator dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jistone at redhat dot com @ 2012-02-01 17:55 UTC (permalink / raw)
  To: systemtap

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

             Bug #: 13645
           Summary: isolate strftime to stapio
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap@sourceware.org
        ReportedBy: jistone@redhat.com
    Classification: Unclassified


The -o option for staprun/stapio supports strftime formatting in its argument
to name the output files by localtime.  Since this is a user-provided format
string, we have to relax gcc with -Wno-format-nonliteral.

The output files are opened by stapio, so it will have to use this format.  But
staprun only processes the format during the parse_args() validation.  If we
refactor the strftime call to only stapio, then we can isolate the relaxed
warning too, and leave the setuid staprun as tight as possible.

-- 
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] 4+ messages in thread

* [Bug runtime/13645] isolate strftime to stapio
  2012-02-01 17:55 [Bug runtime/13645] New: isolate strftime to stapio jistone at redhat dot com
@ 2014-08-18 19:24 ` quae at daurnimator dot com
  2014-08-18 19:35 ` jistone at redhat dot com
  2014-08-18 19:36 ` jistone at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: quae at daurnimator dot com @ 2014-08-18 19:24 UTC (permalink / raw)
  To: systemtap

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

daurnimator <quae at daurnimator dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |quae at daurnimator dot com

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

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

* [Bug runtime/13645] isolate strftime to stapio
  2012-02-01 17:55 [Bug runtime/13645] New: isolate strftime to stapio jistone at redhat dot com
  2014-08-18 19:24 ` [Bug runtime/13645] " quae at daurnimator dot com
@ 2014-08-18 19:35 ` jistone at redhat dot com
  2014-08-18 19:36 ` jistone at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jistone at redhat dot com @ 2014-08-18 19:35 UTC (permalink / raw)
  To: systemtap

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

Josh Stone <jistone at redhat dot com> changed:

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

--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
FWIW, commit 0a5f4aa83e5b (release-2.5~389^2~44) did reduce that warning to
just one small object file that calls strftime, leaving the rest fully warned. 
This isolated function is still called by staprun though.

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

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

* [Bug runtime/13645] isolate strftime to stapio
  2012-02-01 17:55 [Bug runtime/13645] New: isolate strftime to stapio jistone at redhat dot com
  2014-08-18 19:24 ` [Bug runtime/13645] " quae at daurnimator dot com
  2014-08-18 19:35 ` jistone at redhat dot com
@ 2014-08-18 19:36 ` jistone at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jistone at redhat dot com @ 2014-08-18 19:36 UTC (permalink / raw)
  To: systemtap

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

Josh Stone <jistone at redhat dot com> changed:

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

--- Comment #2 from Josh Stone <jistone at redhat dot com> ---
(edit: sorry, didn't mean to close it yet)

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

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-01 17:55 [Bug runtime/13645] New: isolate strftime to stapio jistone at redhat dot com
2014-08-18 19:24 ` [Bug runtime/13645] " quae at daurnimator dot com
2014-08-18 19:35 ` jistone at redhat dot com
2014-08-18 19:36 ` jistone 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).