]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Don't install data files with x permissions
authorJiri Slaby <jslaby@suse.cz>
Thu, 8 Sep 2022 06:04:26 +0000 (08:04 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 8 Sep 2022 18:55:56 +0000 (15:55 -0300)
commit7c9cf8da283e8b90729ff8e2104a564d87b03669
tree51ee9b5a50053f32b52389406c2b746a36b9ec38
parent1b747c1c6475dd10302b0aa63926a79d4668a596
perf tools: Don't install data files with x permissions

install(1), by default, installs with rwxr-xr-x permissions. Modify
perf's Makefile to pass '-m 644' when installing:

  * Documentation/tips.txt
  * examples/bpf/*
  * perf-completion.sh
  * perf_dlfilter.h header
  * scripts/perl/Perf-Trace-Util/lib/Perf/Trace/*
  * scripts/perl/*.pl
  * tests/attr/*
  * tests/attr.py
  * tests/shell/lib/*.sh
  * trace/strace/groups/*

All those are supposed to be non-executable. Either they are not scripts
at all, or they don't have shebang.

Signed-off-by: <jslaby@suse.cz>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220908060426.9619-1-jslaby@suse.cz
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf