lkml.org 
[lkml]   [2020]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Replace HTTP links with HTTPS ones: Documentation/filesystems
On Sun, 21 Jun 2020 15:35:52 +0200
"Alexander A. Klimov" <grandmaster@al2klimov.de> wrote:

> 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>
> ---
> Documentation/filesystems/hfs.rst | 2 +-
> Documentation/filesystems/hpfs.rst | 2 +-
> Documentation/filesystems/nfs/rpc-server-gss.rst | 6 +++---
> Documentation/filesystems/path-lookup.rst | 6 +++---
> Documentation/filesystems/ramfs-rootfs-initramfs.rst | 8 ++++----
> Documentation/filesystems/ubifs-authentication.rst | 4 ++--
> Documentation/filesystems/vfs.rst | 6 +++---
> 7 files changed, 17 insertions(+), 17 deletions(-)

I've applied this. But some of the pages referenced here have not changed
in over 20 years; I suspect they may be just a wee bit out of date and not
entirely helpful for people trying to understand the kernel. I *really*
wish we could be cleaning that stuff up rather than just changing URL
protocols...

Thanks,

jon

\
 
 \ /
  Last update: 2020-06-26 19:16    [W:0.035 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site