summaryrefslogtreecommitdiff
path: root/Documentation/translations/zh_CN/process/4.Coding.rst
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-06-08 21:16:49 +0300
committerJonathan Corbet <corbet@lwn.net>2020-06-19 22:40:02 +0300
commitcf37fc4a0ce121fa9acb5ac390787ebc6a6959e9 (patch)
tree4cf563fa69d2b92e1401467acca9d6c7b1ee2deb /Documentation/translations/zh_CN/process/4.Coding.rst
parent68e4cd17e218971a2fd60c30fe14078dc0d8a68e (diff)
downloadlinux-cf37fc4a0ce121fa9acb5ac390787ebc6a6959e9.tar.xz
Replace HTTP links with HTTPS ones: Documentation/translations/zh_CN
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: 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> Reviewed-by: Alex Shi <alex.shi@linux.alibaba.com> Link: https://lore.kernel.org/r/20200608181649.74883-1-grandmaster@al2klimov.de Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/translations/zh_CN/process/4.Coding.rst')
-rw-r--r--Documentation/translations/zh_CN/process/4.Coding.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/translations/zh_CN/process/4.Coding.rst b/Documentation/translations/zh_CN/process/4.Coding.rst
index b82b1dde3122..959a06ba025c 100644
--- a/Documentation/translations/zh_CN/process/4.Coding.rst
+++ b/Documentation/translations/zh_CN/process/4.Coding.rst
@@ -224,7 +224,7 @@ scripts/coccinelle目录下已经打包了相当多的内核“语义补丁”
或Blackfin开发板,您仍然可以执行编译步骤。可以在以下位置找到一组用于x86系统的
大型交叉编译器:
- http://www.kernel.org/pub/tools/crosstool/
+ https://www.kernel.org/pub/tools/crosstool/
花一些时间安装和使用这些编译器将有助于避免以后的尴尬。