aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-13 21:06:28 +0200
committerAndy Shevchenko <[email protected]>2020-07-15 12:45:06 +0300
commit19206a1edc518e6f39ae2307598afe20ae74ae6b (patch)
tree878af01691c5e1f2aaa1dc798a738ef90d014f3a /tools/perf/scripts/python/bin/stackcollapse-report
parent46713aeee154205fc0285b0d9ac78cb4bdf246a7 (diff)
platform/x86: thinkpad_acpi: 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]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions