summaryrefslogtreecommitdiffstats
path: root/Documentation/translations/zh_CN/process/volatile-considered-harmful.rst
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-06-08 20:16:49 +0200
committerJonathan Corbet <corbet@lwn.net>2020-06-19 21:40:02 +0200
commitcf37fc4a0ce121fa9acb5ac390787ebc6a6959e9 (patch)
tree4cf563fa69d2b92e1401467acca9d6c7b1ee2deb /Documentation/translations/zh_CN/process/volatile-considered-harmful.rst
parentdocs: deprecated.rst: Add zero-length and one-element arrays (diff)
downloadlinux-cf37fc4a0ce121fa9acb5ac390787ebc6a6959e9.tar.xz
linux-cf37fc4a0ce121fa9acb5ac390787ebc6a6959e9.zip
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 '')
-rw-r--r--Documentation/translations/zh_CN/process/volatile-considered-harmful.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/translations/zh_CN/process/volatile-considered-harmful.rst b/Documentation/translations/zh_CN/process/volatile-considered-harmful.rst
index 48b32ce58ef1..ded3b5d0c9a8 100644
--- a/Documentation/translations/zh_CN/process/volatile-considered-harmful.rst
+++ b/Documentation/translations/zh_CN/process/volatile-considered-harmful.rst
@@ -94,8 +94,8 @@ bug并且需要对这样的代码额外仔细检查。那些试图使用volatile
注释
----
-[1] http://lwn.net/Articles/233481/
-[2] http://lwn.net/Articles/233482/
+[1] https://lwn.net/Articles/233481/
+[2] https://lwn.net/Articles/233482/
致谢
----