diff options
| author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-22 21:24:54 +0200 | 
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2020-08-13 07:50:59 +0100 | 
| commit | 4f4ed4543e2096dc0158ff79bd6d8bc09e27fa93 (patch) | |
| tree | e39bead62579cc472c3688bd0773d51c015f9adc /net/lapb/lapb_in.c | |
| parent | 3d858942250820b9adc35f963a257481d6d4c81d (diff) | |
mfd: 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>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
