Skip to content

perf machine fixes

Arnaldo Carvalho de Melo linux-perf-users lkml 1 version Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8perf machine: Fix fd leak on bounds check in maps__set_modules_path_dir()tools/perf/util/machine.c+4 -20 replies
2/8perf machine: Fix NULL parent dereference in fork event processingtools/perf/util/machine.c+2 -10 replies
3/8perf machine: Guard against NULL strlist in machines__findnew()tools/perf/util/machine.c+3 -20 replies
4/8perf machine: Check snprintf truncation in machines__findnew()tools/perf/util/machine.c+6 -10 replies
5/8perf machine: Don't abort guest map creation on first inaccessible dirtools/perf/util/machine.c+2 -40 replies
6/8perf machine: Reset errno before strtol in guest kernel map creationtools/perf/util/machine.c+1 -00 replies
7/8perf machine: Free scandir entries in guest kernel map creationtools/perf/util/machine.c+4 -00 replies
8/8perf machine: Check snprintf truncation for guest kallsyms pathtools/perf/util/machine.c+8 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHES 0/8 v1] perf machine fixes

Hi,

Here is a series of patches fixing issues with the 'struct machine'
methods, please consider applying to perf-tools-next.

- Arnaldo

Arnaldo Carvalho de Melo (8):
perf machine: Fix fd leak on bounds check in maps__set_modules_path_dir() perf machine: Fix NULL parent dereference in fork event processing perf machine: Guard against NULL strlist in machines__findnew() perf machine: Check snprintf truncation in machines__findnew() perf machine: Don't abort guest map creation on first inaccessible dir perf machine: Reset errno before strtol in guest kernel map creation perf machine: Free scandir entries in guest kernel map creation perf machine: Check snprintf truncation for guest kallsyms path

 tools/perf/util/machine.c | 43 +++++++++++++++++++++++++++------------
 1 file changed, 30 insertions(+), 13 deletions(-)
Signature · 1 line
2.55.0