summaryrefslogtreecommitdiff
path: root/scripts/headerdep.pl
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-13 14:28:59 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-11-10 14:41:22 +0200
commit1b409fda60414186688d94a125ce5306f323af6d (patch)
tree7ecae07d6f704659473d3c8d1a34e9dfc976ae2d /scripts/headerdep.pl
parent3945ac0ea8ca213e09e6d62c0ce14f3b3941ad2c (diff)
downloadlinux-next-1b409fda60414186688d94a125ce5306f323af6d.tar.gz
drm: omapdrm: 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: Tomi Valkeinen <tomi.valkeinen@ti.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200713122859.34135-1-grandmaster@al2klimov.de
Diffstat (limited to 'scripts/headerdep.pl')
0 files changed, 0 insertions, 0 deletions