summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-06-27 12:31:11 +0200
committerJonathan Corbet <corbet@lwn.net>2020-07-05 14:16:44 -0600
commitc0ad0befed93a6f567edb230954b744d4926cafa (patch)
tree96e9cbcd4ae28f38fb48772d5d297bff55d7ce32 /fs/cifs/cifsglob.h
parent3839a7460721b87501134697b7b90c45dcc7825d (diff)
Replace HTTP links with HTTPS ones: DRBD driver
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 <grandmaster@al2klimov.de> Link: https://lore.kernel.org/r/20200627103111.71771-1-grandmaster@al2klimov.de Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'fs/cifs/cifsglob.h')
0 files changed, 0 insertions, 0 deletions