aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-13 16:51:15 +0200
committerPavel Machek <[email protected]>2020-07-22 14:48:40 +0200
commitc5437338150e4914328c975767056d2dedacfd21 (patch)
tree24464732ba864235b3df9b77a1f4dae6e57483bd /tools/perf/util/scripting-engines/trace-event-perl.c
parent93690cdf3060c61dfce813121d0bfc055e7fa30d (diff)
leds: Replace HTTP links with HTTPS ones
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov <[email protected]> Acked-by: Rob Herring <[email protected]> Acked-by: Dan Murphy <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions