Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp197111ybh; Mon, 20 Jul 2020 14:13:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKgVQYUDOrOsRf/nwcBm2aqFu+1Tiw4IjsjfvGzM9/B4z6f3vlgODRaOT3D9UI4Y7olylK X-Received: by 2002:a50:ccc7:: with SMTP id b7mr24233185edj.9.1595279616437; Mon, 20 Jul 2020 14:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595279616; cv=none; d=google.com; s=arc-20160816; b=OOljzdZAdlbrCzy7DNZE92OMh3pI+M/pU4NAYjleFU4sz9jmmuP6U0vlpLxChdageq ReiJIFb9GGrlendrP9wAb+wMa2q6Yeau2naJyRcNrfkmuwWsnmLoaienVrMfmKdndqaD OznktcIU0eZyBeVMsKBOjfsXFrd+8V9IveEYHoZUyNGs+RvmKW+lkLm07PJg84O3X8B3 msOs5kPaQTpYV1zFNy47Pddn4tPJQY67R7oPmfw3pS7ys9YROpCS9mltuD5IUYuKLg4p iyvft+mXZ5yO22oUhMVmXiM1Es7QreL0VmDgvoCgSKjgiyMpNyl69J3sHu/MpkyNOVFw RcOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Zx7LHi0wjWTSPuG+QvtLoS4ZhWlboJ+I/XB7CdhsPyk=; b=icblz0wOk9O4qCysj89W6Y9n/RE9U4Z1TYne25pDhhbfouIEEJVY8EPL9S7axVIGUt iA6rCZBmS4u0fOa8gMpB+Uz625SFwvmb1V2FCJto0Gc3lqTG7J0497OMwXEFElX064xM EgD3lyvIZK+7vlo+6dOGQtrYWam3Y4YO50634HEW6ob+245bOC2uxMcWhAyj+bhNcIY6 3BaxmKaQZBKLsfilRL0Hmk25h6e5o5giRBQMO4QPyzQKV4LiTf0U/Jdh1m0qQir3jAYK TLVC57lCUqYKQyatscRIefnoM0K32+wNAJt9PX2um1q49mMrmnvn3L6JszFJYpuz7pyX f4xQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bu27si10714703edb.542.2020.07.20.14.13.11; Mon, 20 Jul 2020 14:13:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726543AbgGTVMm (ORCPT + 99 others); Mon, 20 Jul 2020 17:12:42 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:44190 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726012AbgGTVMm (ORCPT ); Mon, 20 Jul 2020 17:12:42 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 172A5BC1AB; Mon, 20 Jul 2020 21:12:37 +0000 (UTC) From: "Alexander A. Klimov" To: catalin.marinas@arm.com, will@kernel.org, corbet@lwn.net, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH v2] arm64: Replace HTTP links with HTTPS ones Date: Mon, 20 Jul 2020 23:12:31 +0200 Message-Id: <20200720211231.63831-1-grandmaster@al2klimov.de> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: +++++ X-Spam-Level: ***** Authentication-Results: smtp.al2klimov.de; auth=pass smtp.auth=aklimov@al2klimov.de smtp.mailfrom=grandmaster@al2klimov.de Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: 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 --- Now better? Documentation/arm64/arm-acpi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/arm64/arm-acpi.rst b/Documentation/arm64/arm-acpi.rst index 872dbbc73d4a..8f675c38c244 100644 --- a/Documentation/arm64/arm-acpi.rst +++ b/Documentation/arm64/arm-acpi.rst @@ -273,7 +273,7 @@ only use the _DSD Device Properties UUID [5]: - UUID: daffd814-6eba-4d8c-8a91-bc9bbf4aa301 - - http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf + - https://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf The UEFI Forum provides a mechanism for registering device properties [4] so that they may be used across all operating systems supporting ACPI. -- 2.27.0