aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-18 14:18:15 +0200
committerPhilipp Zabel <[email protected]>2020-07-20 11:27:12 +0200
commitffebbecaaa86f7cde4a6a813bed14f9d56e7c373 (patch)
treee60fcebfd8e61d3caf71f4422dc75d12fe0f0e89 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent308646785e51976dea7e20d29a1842d14bf0b9bd (diff)
reset: 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: Philipp Zabel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions