From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FDFBC433E6 for ; Mon, 31 Aug 2020 18:20:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E66C420678 for ; Mon, 31 Aug 2020 18:20:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598898049; bh=SNSttJdpfWdR+2Zv+5g7ieu37LT228fIydquiaTZ/J0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=IHr8hM+pCs/GcZNXRH8l57V/mesj4FPgNd8cnD9bGi+afBue2ZWWvkKyWxjEF7WoI rcWi8bM+fHVmGwBoTAnWz+UpROM4eMST+Iu7jBsdz74d0k9DfVwA94HvC09NFnZou3 FzwsesztyUI2xqfDOPIYoATmv9Z7GMFp10ZdIEDI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729843AbgHaSUr (ORCPT ); Mon, 31 Aug 2020 14:20:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:56466 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729812AbgHaSUk (ORCPT ); Mon, 31 Aug 2020 14:20:40 -0400 Received: from paulmck-ThinkPad-P72.home (unknown [50.45.173.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E51F720E65; Mon, 31 Aug 2020 18:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598898040; bh=SNSttJdpfWdR+2Zv+5g7ieu37LT228fIydquiaTZ/J0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LfzYkun2rT/QlYb0e3d7Ta1/lcsK/EqOjrfeCCLPR/5mz9mtG3e76E8an/K0zBFTk AeQBMhI/iAKiYCWEHUwkt1+BCCXSLjb1D8ZDIAMD3kZki6uRPOxY7QI00W9CLZgDhE ERJxZAK+KdWgzuBq0zeG4GONHgc9i8+UQcm6fRO4= From: paulmck@kernel.org To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, kernel-team@fb.com, mingo@kernel.org Cc: stern@rowland.harvard.edu, parri.andrea@gmail.com, will@kernel.org, peterz@infradead.org, boqun.feng@gmail.com, npiggin@gmail.com, dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, akiyks@gmail.com, "Alexander A. Klimov" , "Paul E . McKenney" Subject: [PATCH kcsan 2/9] Replace HTTP links with HTTPS ones: LKMM Date: Mon, 31 Aug 2020 11:20:30 -0700 Message-Id: <20200831182037.2034-2-paulmck@kernel.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20200831182012.GA1965@paulmck-ThinkPad-P72> References: <20200831182012.GA1965@paulmck-ThinkPad-P72> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Alexander A. Klimov" 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 Signed-off-by: Paul E. McKenney --- tools/memory-model/Documentation/references.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/memory-model/Documentation/references.txt b/tools/memory-model/Documentation/references.txt index ecbbaa5..c5fdfd1 100644 --- a/tools/memory-model/Documentation/references.txt +++ b/tools/memory-model/Documentation/references.txt @@ -120,7 +120,7 @@ o Jade Alglave, Luc Maranget, and Michael Tautschnig. 2014. "Herding o Jade Alglave, Patrick Cousot, and Luc Maranget. 2016. "Syntax and semantics of the weak consistency model specification language - cat". CoRR abs/1608.07531 (2016). http://arxiv.org/abs/1608.07531 + cat". CoRR abs/1608.07531 (2016). https://arxiv.org/abs/1608.07531 Memory-model comparisons -- 2.9.5