Vegard Nossum
44ac5abac8
Documentation/security-bugs: move from admin-guide/ to process/
...
Jiri Kosina, Jonathan Corbet, and Willy Tarreau all expressed a desire
to move this document under process/.
Create a new section for security issues in the index and group it with
embargoed-hardware-issues.
I'm doing this at the start of the series to make all the subsequent
changes show up in 'git blame'.
Existing references were updated using:
git grep -l security-bugs ':!Documentation/translations/' | xargs sed -i 's|admin-guide/security-bugs|process/security-bugs|g'
git grep -l security-bugs Documentation/translations/ | xargs sed -i 's|Documentation/admin-guide/security-bugs|Documentation/process/security-bugs|g'
git grep -l security-bugs Documentation/translations/ | xargs sed -i '/Original:/s|\.\./admin-guide/security-bugs|\.\./process/security-bugs|g'
Notably, the page is not moved in the translations (due to my lack of
knowledge of these languages), but the translations have been updated
to point to the new location of the original document where these
references exist.
Link: https://lore.kernel.org/all/nycvar.YFH.7.76.2206062326230.10851@cbobk.fhfr.pm/
Suggested-by: Jiri Kosina <jikos@kernel.org >
Cc: Alex Shi <alexs@kernel.org >
Cc: Yanteng Si <siyanteng@loongson.cn >
Cc: Hu Haowen <src.res@email.cn >
Cc: Federico Vaga <federico.vaga@vaga.pv.it >
Cc: Tsugikazu Shibata <tshibata@ab.jp.nec.com >
Cc: Minchan Kim <minchan@kernel.org >
Cc: Jeimi Lee <jamee.lee@samsung.com >
Cc: Carlos Bilbao <carlos.bilbao@amd.com >
Cc: Akira Yokosawa <akiyks@gmail.com >
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com >
Acked-by: Carlos Bilbao <carlos.bilbao@amd.com >
Reviewed-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Akira Yokosawa <akiyks@gmail.com >
Acked-by: Federico Vaga <federico.vaga@vaga.pv.it >
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com >
Link: https://lore.kernel.org/r/20230305220010.20895-2-vegard.nossum@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-03-12 15:56:43 +01:00
Wang Yong
078bdea856
docs/zh_CN: fix a typo in howto
...
Fix a typo in Chinese translation of howto.rst
Fixes: 40d93e4961 ("docs/zh_CN: update howto.rst to latest version")
Signed-off-by: Wang Yong <yongw.kernel@gmail.com >
Reviewed-by: Yanteng Si <siyanteng@loongson.cn >
Link: https://lore.kernel.org/r/20221208083353.160152-1-yongw.kernel@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2023-01-02 16:27:18 -07:00
Akira Yokosawa
2f3f53d623
docs/process/howto: Replace C89 with C11
...
Commit e8c07082a8 ("Kbuild: move to -std=gnu11") updated
process/programming-language.rst, but failed to update
process/howto.rst.
Update howto.rst and resolve the inconsistency.
Fixes: e8c07082a8 ("Kbuild: move to -std=gnu11")
Signed-off-by: Akira Yokosawa <akiyks@gmail.com >
Cc: Arnd Bergmann <arnd@arndb.de >
Cc: Federico Vaga <federico.vaga@vaga.pv.it >
Cc: Alex Shi <alexs@kernel.org >
Cc: Hu Haowen <src.res@email.cn >
Cc: Tsugikazu Shibata <shibata@linuxfoundation.org >
Link: https://lore.kernel.org/r/20221015092201.32099-1-akiyks@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-10-24 11:27:51 -06:00
Akira Yokosawa
7cc395312a
docs/howto: Replace abundoned URL of gmane.org
...
Somehow, there remains a link to gmane.org, which stopped working
in 2016, in howto.rst. Replace it with the one at lore.kernel.org.
Do the same changes under translations/ as well.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com >
Cc: Federico Vaga <federico.vaga@vaga.pv.it >
Cc: Alex Shi <alexs@kernel.org >
Cc: Yanteng Si <siyanteng@loongson.cn >
Cc: Hu Haowen <src.res@email.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/20220930021936.26238-1-akiyks@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-10-10 13:09:10 -06:00
Lukas Bulwahn
9d4e2eed3f
docs: zh_CN: align to submitting-drivers removal
...
Adjust the Chinese translation to the removal of submitting-drivers in the
English kernel documentation.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/20220704122537.3407-11-lukas.bulwahn@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-07-14 15:03:58 -06:00
Zhou Yuheng
532578ed4d
docs/zh_CN: Fix typo in process/howto.rst
...
Correct the url of linux-next
Signed-off-by: Zhou Yuheng <woshoxxx@gmail.com >
Reviewed-by: Alex Shi <alexs@kernel.org >
Acked-by: Tang Yizhou <tangyizhou@huawei.com >
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2022-04-16 02:42:16 -06:00
Yanteng Si
65a21ad044
docs/zh_CN: Improve zh_CN/process/howto.rst
...
- Improve grammar of zh_CN/process/howto.rst.
- Resolve potential problems in documentation.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn >
Reviewed-by: Alex Shi <alexs@kernel.org >
Link: https://lore.kernel.org/r/587fca686d8d7aa828dec2d803bf9f5d59819c57.1632389476.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2021-09-27 11:26:30 -06:00
Alexander A. Klimov
cf37fc4a0c
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 >
2020-06-19 13:40:02 -06:00
Jacob Huisman
5aff7c4617
docs: process: fix broken link
...
http://linux.yyz.us/patch-format.html seems to be down since
approximately September 2018. There is a working archive copy on
arhive.org. Replaced the links in documenation + translations.
Signed-off-by: Jacob Huisman <jacobhuisman@kernelthusiast.com >
Reviewed-by: Federico Vaga <federico.vaga@vaga.pv.it >
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-08-24 15:14:38 -06:00
Alex Shi
6a241a11f9
docs/zh_CN: update Chinese howto.rst for latexdocs making
...
Mauro Carvalho Chehab <mchehab+samsung@kernel.org > found a reference
error in Chinese howto.rst. and further more there more infos of
latexdocs/epubdocs format doc making in English howto.rst.
So I update this part according to latest howto.rst and settled
the correct reference.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-08-12 15:17:15 -06:00
Mauro Carvalho Chehab
54bfe6feba
docs: zh_CN: howto.rst: fix a broken reference
...
There's a broken reference there pointing to the long gone
DocBook dir.
While I don't read chinese, Google translator translates it
to:
"The generated documentation will be placed in
the Documentation/DocBook/ directory."
Well, we know that the output will be Documentation/output
dir. So, let's fix this one.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org >
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-07-31 12:54:48 -06:00
Alex Shi
8cd43e35f3
docs/zh_CN: redirect coding-sytle to Chinese version
...
It's time to link the doc into Chinese version.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Cc: Harry Wei <harryxiyou@gmail.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Federico Vaga <federico.vaga@vaga.pv.it >
Cc: SeongJae Park <sj38.park@gmail.com >
Cc: Tom Levy <tomlevy93@gmail.com >
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-04-02 09:53:57 -06:00
Alex Shi
f5acf9397b
docs/zh_CN: redirect stable-api-nonsense to Chinese version
...
It's time to redirect it to Chinese version.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Cc: Harry Wei <harryxiyou@gmail.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Federico Vaga <federico.vaga@vaga.pv.it >
Cc: SeongJae Park <sj38.park@gmail.com >
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-04-02 09:53:56 -06:00
Alex Shi
9b73a0e903
docs/zh_CN: redirect management-style to Chinese one
...
It's time to redirect the link to Chinese version.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Cc: Harry Wei <harryxiyou@gmail.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Federico Vaga <federico.vaga@vaga.pv.it >
Cc: SeongJae Park <sj38.park@gmail.com >
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-04-02 09:53:56 -06:00
Alex Shi
6db147a8bb
docs/zh_CN: redirect the submitting-patches to Chinese doc
...
Now we have latest Chinese version submitting-patches.rst, it's time to
use it in other docs.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Cc: Harry Wei <harryxiyou@gmail.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Federico Vaga <federico.vaga@vaga.pv.it >
Cc: SeongJae Park <sj38.park@gmail.com >
Cc: James Morris <james.morris@microsoft.com >
Cc: Mauro Carvalho Chehab <mchehab+samsung@kernel.org >
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-04-02 09:53:55 -06:00
Alex Shi
da6cfbf90d
docs/zh_CN: redirect license-rules to Chinese doc
...
The latest license-rules.rst was translated into Chinese. So it's time
to set a link for it.
Also fix typos around SPDX.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Signed-off-by: Dust Li <dust.li@linux.alibaba.com >
Cc: Harry Wei <harryxiyou@gmail.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Federico Vaga <federico.vaga@vaga.pv.it >
Cc: SeongJae Park <sj38.park@gmail.com >
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-04-02 09:53:54 -06:00
Alex Shi
56d75cc22d
docs/zh_CN: update translator info and comments in howto
...
Since we has disclaimer, don't need duplicate comments.
Add myself into translators.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Cc: Harry Wei <harryxiyou@gmail.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Federico Vaga <federico.vaga@vaga.pv.it >
Cc: SeongJae Park <sj38.park@gmail.com >
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-04-02 09:53:54 -06:00
Alex Shi
40d93e4961
docs/zh_CN: update howto.rst to latest version
...
This removed the obsolete 2.6.x examples, sub-system tree
and updated some links/items following latest Englisht version howto
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Cc: Harry Wei <harryxiyou@gmail.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Federico Vaga <federico.vaga@vaga.pv.it >
Cc: SeongJae Park <sj38.park@gmail.com >
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-04-02 09:53:54 -06:00
Alex Shi
973a9f6c70
docs/zh_CN: fix link issue in howto.rst
...
Now we could follow links in created html files.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Cc: Harry Wei <harryxiyou@gmail.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Federico Vaga <federico.vaga@vaga.pv.it >
Cc: SeongJae Park <sj38.park@gmail.com >
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-04-02 09:53:54 -06:00
Alex Shi
dcea1c73a6
docs/zh_CN: fix rst format errors in howto.rst
...
Tame howto.rst file to avoid "ERROR: Unexpected indentation." etc
compiler errors.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Cc: Harry Wei <harryxiyou@gmail.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Li Yang <leoyang.li@nxp.com >
Cc: TripleX Chung <xxx.phy@gmail.com >
Signed-off-by: Weiwei Jia <harryxiyou@gmail.com >
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-03-18 11:39:59 -06:00
Alex Shi
707a680e5c
docs/zh_CN: update Li Yang's email address
...
Change leoli@freescale.com and leo@zh-kernel.org to active address:
leoyang.li@nxp.com
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Cc: Li Yang <leoyang.li@nxp.com >
Signed-off-by: Weiwei Jia <harryxiyou@gmail.com >
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-03-18 11:39:58 -06:00
Alex Shi
6014f056ac
docs/zh_CN: howto format changes
...
also with few contents changes
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Cc: Harry Wei <harryxiyou@gmail.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Li Yang <leoyang.li@nxp.com >
Cc: Li Zefan <lizefan@huawei.com >
Cc: Shawn Guo <shawn.guo@linaro.org >
Cc: Fengguang Wu <fengguang.wu@intel.com >
Cc: Coly Li <colyli@suse.de >
Signed-off-by: Weiwei Jia <harryxiyou@gmail.com >
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-03-18 11:39:57 -06:00
Alex Shi
32946a0398
docs/zh_CN: rename HOWTO into process directory
...
Make it available in htmldocs
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com >
Cc: Harry Wei <harryxiyou@gmail.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Li Yang <leoyang.li@nxp.com >
Cc: Li Zefan <lizefan@huawei.com >
Cc: Shawn Guo <shawn.guo@linaro.org >
Cc: Fengguang Wu <fengguang.wu@intel.com >
Cc: Coly Li <colyli@suse.de >
Signed-off-by: Weiwei Jia <harryxiyou@gmail.com >
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2019-03-18 11:39:57 -06:00