2017-06-15 00:11:52

by Michael Sartain

[permalink] [raw]
Subject: [PATCH v2 0/6] trace-cmd: escape sequence, EINTR, error checking bug fixes

This patch adds fixes to trace-cmd for return value checking, EINTR handling,
function prototypes, and data offsets to initial patch escape sequence fix [1].

Please holler with any feedback. Thanks much.
-Mike

v1->v2:
Add five related bug fix patches

Michael Sartain (6):
Fix bad force_token escape sequence
Fix unsigned return values being error checked as negative
Handle EINTR signal interrupts for read, write, open calls
Fix read / write data offsets in read / write loops
Fix function prototypes for __vwarning, __vpr_stat, and __vdie
Fix cases where string literals were passed as string format args

event-parse.c | 2 +-
event-utils.h | 4 +-
parse-utils.c | 2 +
trace-capture.c | 12 ++--
trace-cmd-local.h | 2 +-
trace-dialog.c | 4 +-
trace-filter.c | 10 +--
trace-input.c | 187 +++++++++++++++++++++++-------------------------------
trace-local.h | 2 +-
trace-msg.c | 13 ++--
10 files changed, 104 insertions(+), 134 deletions(-)

[1] https://www.mail-archive.com/[email protected]/msg1414382.html

--
2.11.0


Attachments:
(No filename) (1.08 kB)
0001-Fix-bad-force_token-escape-sequence.patch (854.00 B)
0002-Fix-unsigned-return-values-being-error-checked-as-ne.patch (12.85 kB)
0003-Handle-EINTR-signal-interrupts-for-read-write-open-c.patch (2.90 kB)
0004-Fix-read-write-data-offsets-in-read-write-loops.patch (1.40 kB)
0005-Fix-function-prototypes-for-__vwarning-__vpr_stat-an.patch (1.76 kB)
0006-Fix-cases-where-string-literals-were-passed-as-strin.patch (4.32 kB)
Download all attachments