forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commit4510a5a
ocfs2: replace HTTP links with HTTPS ones
Rationale:Reduces attack surface on kernel devs opening the links for MITMas HTTPS traffic is much harder to manipulate.Deterministic algorithm:For each file: If not .svg: For each line: If doesn't contain `xmlns`: For each link, `http://[^# ]*(?:\w|/)`: If neither `gnu\.org/license`, nor `mozilla\.org/MPL`: 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: Andrew Morton <akpm@linux-foundation.org>Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>Cc: Mark Fasheh <mark@fasheh.com>Cc: Joel Becker <jlbec@evilplan.org>Cc: Junxiao Bi <junxiao.bi@oracle.com>Cc: Changwei Ge <gechangwei@live.cn>Cc: Gang He <ghe@suse.com>Cc: Jun Piao <piaojun@huawei.com>Link:http://lkml.kernel.org/r/20200713174456.36596-1-grandmaster@al2klimov.deSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent38d51b2 commit4510a5a
File tree
4 files changed
+6
-6
lines changed- Documentation/filesystems
- fs/ocfs2
4 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments
Comments
(0)