diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-13 22:37:06 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-08-25 04:45:32 +0300 |
commit | afcdf2319d11e0d68e45babd5df65f79771074b5 (patch) | |
tree | e33583ea1b197a46dc70191e69c95e1f58e44990 /lib/debugobjects.c | |
parent | d49bed9abc3454bd123cbe974ecbeae119701b92 (diff) | |
download | linux-afcdf2319d11e0d68e45babd5df65f79771074b5.tar.xz |
rcutorture: 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 <grandmaster@al2klimov.de>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions