• Jiri Slaby's avatar
    perf tools: Don't install data files with x permissions · 0a9eaf61
    Jiri Slaby authored
    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.czSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    0a9eaf61
Makefile.perf 40 KB