diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-18 14:08:07 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-07-20 16:15:59 +0200 |
commit | 42348547cef0ecf3a79db255f10066ec8593be76 (patch) | |
tree | ea553409366e988b48df1d234bd5bd6b8ff10fab /lib/timerqueue.c | |
parent | 3762442af6ad914b537f444f3d4672af7685ab2e (diff) | |
download | lwn-42348547cef0ecf3a79db255f10066ec8593be76.tar.gz lwn-42348547cef0ecf3a79db255f10066ec8593be76.zip |
pinctl: ti: iodelay: 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>
Link: https://lore.kernel.org/r/20200718120807.19714-1-grandmaster@al2klimov.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions