summaryrefslogtreecommitdiff
path: root/tools/arch
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-06 00:02:36 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-07-30 11:37:40 -0700
commit8e0c02f27253cde5400f7e57b1369690c6e614a0 (patch)
tree9c38b13ebd5d1758878c86833a89b50c34773f90 /tools/arch
parentf2c9699f65557a31fed4ddb9e5b4d9489b1bf32f (diff)
Replace HTTP links with HTTPS ones: RISC-V
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 `\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> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'tools/arch')
-rw-r--r--tools/arch/riscv/include/uapi/asm/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/arch/riscv/include/uapi/asm/unistd.h b/tools/arch/riscv/include/uapi/asm/unistd.h
index 0e2eeeb1fd27..f506cca520b0 100644
--- a/tools/arch/riscv/include/uapi/asm/unistd.h
+++ b/tools/arch/riscv/include/uapi/asm/unistd.h
@@ -12,7 +12,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifdef __LP64__