Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp985273ybg; Wed, 10 Jun 2020 20:16:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFNjFYjquJ1xgYSSuhV8N0VedeenAXiE5nCTEI0SBBGbf17EghECHMLDXyAPkR7/BtRExP X-Received: by 2002:a17:906:4d14:: with SMTP id r20mr6233814eju.346.1591845414367; Wed, 10 Jun 2020 20:16:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591845414; cv=none; d=google.com; s=arc-20160816; b=feHSI4ysFe8Ak20vUBMamYY2Lbfa98kodz7bvboo86JgQgtgAUWaj4p/thNyONgsR7 WB4g5d0wcDthcY5Y2Ab+y9kR5XEN2sgIVA7cQYlULP3Ab2VkDJPx1whPHbutWibTLodi u3eor6pgDCKsBmschpGkwMAxppLcvOfBvKaUPMQddjEvccIPeMPtw5v66me1FLPJ5dzK vndno1X5eso6qCEKkZAKvVlZgVq3KxmKcfP5mHckP+l1CXIOzYm30ryTV/gX+C1gHGvj Dp0EnwXmTFn8doaeBsEQhUFej2gmWcsuN9AkOP8Jt4QiigNfdlCJBuemx/VLY77zv57l xzBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=E/BV7QCKbs58GW28of5JsI/VaBszSvteviKF6A2dE0w=; b=cF5JruHjFDk9/8sUzRpgWgjg4BNoVCYBV01+mvtpPHfL0qBGmNyX15q8YgwnD6frVs /z68MjIeibI7eWH/psi/jYHvaHTa4tESe2zVLgl2SXdwPi3DKhP8q0pCNY6ypmq9PunP XKB+Wsv3d7vXL7i6+w9QcOiYg2fFzH8/FmU2YdLpTl42mh25zJFqJVAkhMVoUqyZXaSl IaMc+DW8xMHnhmTq3h81fLbOcqKPLKNKw+XZtXjRhTu25qrKpH0wk0jff+8UoxE34nXz 3tCrlVi0WxhPlGVgBorle1TZIAfUlxPE1m/J/9qBLwDwXVRumAvB9gbEnE7FE7VYMC3B F7bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oEKLqBth; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t10si981578edq.305.2020.06.10.20.16.31; Wed, 10 Jun 2020 20:16:54 -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; dkim=pass header.i=@chromium.org header.s=google header.b=oEKLqBth; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726375AbgFKDMl (ORCPT + 99 others); Wed, 10 Jun 2020 23:12:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbgFKDMk (ORCPT ); Wed, 10 Jun 2020 23:12:40 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B8B3C08C5C1 for ; Wed, 10 Jun 2020 20:12:39 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id h95so1775109pje.4 for ; Wed, 10 Jun 2020 20:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=E/BV7QCKbs58GW28of5JsI/VaBszSvteviKF6A2dE0w=; b=oEKLqBth/WTLkHxALaI4JdTFChNPI2SunsTjFLTUKmZ0zFV+wh1VcAJZ8I/SLPxNue 1MGreEQAXcWYXKjYVrO48BFfZ8dlEHzTSJHAegPOKP4HFGisAVpGydxhlCwBQm6dPVdH 1nrOckOjDwP34JbMjBWbZmmI7tHrA5iv5Kx0Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=E/BV7QCKbs58GW28of5JsI/VaBszSvteviKF6A2dE0w=; b=LfzvmIZ8zY0pAu61WKzhi/OL7EDEArlOBKA/2K9bClsWPJmeONNhcMTL0CVpTQx9yv ut7pmAgIdbXfIOAEQaU2F+js8KysPScsIIm0JYO7ybTrqR/ZcLMshxalF3LyTo+YCvTk NDTBVN5aU/0XujlOyEcPTAe3YzbhFdSE/07AmX7GA0V2V9Ma7J/xCOUAU/V1BXXb1Dwj VM1nB5RdSKp6oUweieRUcyQ5kscIsoQhbvq20FjkJ+gE3trLSn1hM+lHwQl4sRPxNQIl zu8rWlwg9w5p9JRACg2B2m0otS6/ImsY+uPCBXPeCwJ7/DHkrhpkH56cbkypvGEKiS4S VVWQ== X-Gm-Message-State: AOAM530i7UBpmjdixswj/MXLTePRnZWZlzqD0SOeTG0Sigo13BDY2nHc WUZLKVXlnBC+w34bUZVF89w1Ew== X-Received: by 2002:a17:90b:307:: with SMTP id ay7mr6091054pjb.48.1591845158693; Wed, 10 Jun 2020 20:12:38 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id h5sm1336786pfb.120.2020.06.10.20.12.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2020 20:12:37 -0700 (PDT) Date: Wed, 10 Jun 2020 20:12:36 -0700 From: Kees Cook To: "Alexander A. Klimov" Cc: Federico Vaga , Jonathan Corbet , Mauro Carvalho Chehab , David Sterba , Randy Dunlap , Theodore Ts'o , "Darrick J. Wong" , Pankaj Bharadiya , Jacob Huisman , Jonathan =?iso-8859-1?Q?Neusch=E4fer?= , Rob Herring , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/translations/it_IT Message-ID: <202006102009.CB14D7F@keescook> References: <20200609201241.81518-1-grandmaster@al2klimov.de> <4235548.LvFx2qVVIh@harkonnen> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 10, 2020 at 08:11:39PM +0200, Alexander A. Klimov wrote: > Am 10.06.20 um 10:57 schrieb Federico Vaga: > > On Tuesday, June 9, 2020 10:12:41 PM CEST Alexander A. Klimov wrote: > > > 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. Is this script somewhere we can read it? (It's easier usually to review the code for bulk changes than the bulk changes themselves.) > > > > > > Signed-off-by: Alexander A. Klimov > > > --- > > > .../translations/it_IT/admin-guide/README.rst | 2 +- > > > .../translations/it_IT/doc-guide/parse-headers.rst | 2 +- > > > .../translations/it_IT/doc-guide/sphinx.rst | 10 +++++----- > > > .../translations/it_IT/process/2.Process.rst | 12 ++++++------ > > > .../translations/it_IT/process/3.Early-stage.rst | 2 +- > > > .../translations/it_IT/process/4.Coding.rst | 4 ++-- > > > .../it_IT/process/7.AdvancedTopics.rst | 8 ++++---- > > > .../translations/it_IT/process/8.Conclusion.rst | 14 +++++++------- > > > .../translations/it_IT/process/adding-syscalls.rst | 4 ++-- > > > .../translations/it_IT/process/changes.rst | 6 +++--- > > > .../translations/it_IT/process/clang-format.rst | 2 +- > > > .../translations/it_IT/process/coding-style.rst | 2 +- > > > Documentation/translations/it_IT/process/howto.rst | 2 +- > > > .../it_IT/process/maintainer-pgp-guide.rst | 2 +- > > > .../it_IT/process/submitting-patches.rst | 4 ++-- > > > .../it_IT/process/volatile-considered-harmful.rst | 4 ++-- > > > 16 files changed, 40 insertions(+), 40 deletions(-) > > > > > > > > > > diff --git a/Documentation/translations/it_IT/doc-guide/sphinx.rst > > > b/Documentation/translations/it_IT/doc-guide/sphinx.rst index > > > f1ad4504b734..0aaeb0297661 100644 > > > --- a/Documentation/translations/it_IT/doc-guide/sphinx.rst > > > +++ b/Documentation/translations/it_IT/doc-guide/sphinx.rst > > > @@ -14,7 +14,7 @@ Per generare la documentazione in HTML o PDF, usate > > > comandi ``make htmldocs`` o ``make pdfdocs``. La documentazione così > > > generata sarà disponibile nella cartella ``Documentation/output``. > > > > > > -.. _Sphinx: http://www.sphinx-doc.org/ > > > +.. _Sphinx: https://www.sphinx-doc.org/ > > > .. _reStructuredText: http://docutils.sourceforge.net/rst.html > > > > It is not part of the deterministic algorithm but you may consider this as > > well Why did it not match? > > > > -.. _reStructuredText: http://docutils.sourceforge.net/rst.html > > +.. _reStructuredText: https://docutils.sourceforge.io/rst.html > > > I'll think about analyzing such almost-matches, extending the algo and > supplying a second round of patches once all [1] of this round arrive in > torvalds/master. > > [1]: > > ➜ linux git:(feature/https-links-3) ✗ git diff --shortstat > 1963 files changed, 2882 insertions(+), 2882 deletions(-) > ➜ linux git:(feature/https-links-3) ✗ Is there a reason to do this one language at a time instead of just doing everything in one go? -- Kees Cook