aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-06 19:38:50 +0200
committerDavid S. Miller <[email protected]>2020-07-06 13:23:03 -0700
commit7a6498ebcdc0fde4613a20ae405481d49166e8bb (patch)
treecd78d44323b974fd3229a832d97fe40f7b833eaa /tools/testing/selftests/bpf/prog_tests/autoload.c
parent1eafa7369f170ac7dbe06a3774e642084051d475 (diff)
Replace HTTP links with HTTPS ones: IPv*
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 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: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions