Skip to content

Commit 4510a5a

Browse files
Al2Klimovtorvalds
authored andcommitted
ocfs2: 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 `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.de Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 38d51b2 commit 4510a5a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Documentation/filesystems/dlmfs.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dlmfs is built with OCFS2 as it requires most of its infrastructure.
1212

1313
:Project web page: http://ocfs2.wiki.kernel.org
1414
:Tools web page: https://github.com/markfasheh/ocfs2-tools
15-
:OCFS2 mailing lists: http://oss.oracle.com/projects/ocfs2/mailman/
15+
:OCFS2 mailing lists: https://oss.oracle.com/projects/ocfs2/mailman/
1616

1717
All code copyright 2005 Oracle except when otherwise noted.
1818

Documentation/filesystems/ocfs2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ get "mount.ocfs2" and "ocfs2_hb_ctl".
1414

1515
Project web page: http://ocfs2.wiki.kernel.org
1616
Tools git tree: https://github.com/markfasheh/ocfs2-tools
17-
OCFS2 mailing lists: http://oss.oracle.com/projects/ocfs2/mailman/
17+
OCFS2 mailing lists: https://oss.oracle.com/projects/ocfs2/mailman/
1818

1919
All code copyright 2005 Oracle except when otherwise noted.
2020

fs/ocfs2/Kconfig

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ config OCFS2_FS
1616
You'll want to install the ocfs2-tools package in order to at least
1717
get "mount.ocfs2".
1818

19-
Project web page: http://oss.oracle.com/projects/ocfs2
20-
Tools web page: http://oss.oracle.com/projects/ocfs2-tools
21-
OCFS2 mailing lists: http://oss.oracle.com/projects/ocfs2/mailman/
19+
Project web page: https://oss.oracle.com/projects/ocfs2
20+
Tools web page: https://oss.oracle.com/projects/ocfs2-tools
21+
OCFS2 mailing lists: https://oss.oracle.com/projects/ocfs2/mailman/
2222

2323
For more information on OCFS2, see the file
2424
<file:Documentation/filesystems/ocfs2.rst>.

fs/ocfs2/blockcheck.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ u32 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d, unsigned int nr
124124
* parity bits that are part of the bit number
125125
* representation. Huh?
126126
*
127-
* <wikipedia href="http://en.wikipedia.org/wiki/Hamming_code">
127+
* <wikipedia href="https://en.wikipedia.org/wiki/Hamming_code">
128128
* In other words, the parity bit at position 2^k
129129
* checks bits in positions having bit k set in
130130
* their binary representation. Conversely, for

0 commit comments

Comments
 (0)