This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/13645] New: isolate strftime to stapio


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]