This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/13645] New: isolate strftime to stapio
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 01 Feb 2012 17:55:19 +0000
- Subject: [Bug runtime/13645] New: isolate strftime to stapio
- Auto-submitted: auto-generated
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.