Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp659440ybt; Wed, 8 Jul 2020 08:39:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZRdJIhRkhDcMNse58FeEuWf+J7n/JvDo8MCPU/qIYosC2SXeAH+SbrM2xD4chGW2qLJPg X-Received: by 2002:a17:906:1491:: with SMTP id x17mr53708509ejc.416.1594222761164; Wed, 08 Jul 2020 08:39:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594222761; cv=none; d=google.com; s=arc-20160816; b=DQBB0pQuzf81rdJ/y/fOJOvNn8HfY2AX1X24R1Ha6rqwDxElK2BAYE3XOV/Cwnsr5k sOZm1KYT5NspsUm79K6UDs9QELW1olRAM4vFuBVa5Cq9/3Nio72rZc5Tjok3cNVAhNxb qceKikzOiC/8ARjsvJt+MlPUY0j1IBiuoPUFyPEu2LUJSu0boPP5I/jfZqie4GvwIo21 39+7duuG8UPBnEfUNh/Wv8d2WhZ0Zm2cmDKI+5zyRvoMtCglRlbnoBIhyRcwx9PkH9ne 3ZMVs1AOygJDBHx8XiPz2lbXJJjMJi8ffRZPY/2SUqi4Ryc9k/ObWOJwAykvA5Bt7JsF RqMg== 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 :message-id:date:subject:cc:to:from; bh=YlQcsdgfL3dgzXt88d9Xa7MixfCIGsfIJoZkny9pmJs=; b=WHV2carhW0LG80yb+gg2r348nD+Xva93Bm3W01pE/EXh+dOPqebCeXgPS7pxhJCpj9 CoQnlU3TFA5hbJlnjXCvuwX7nhYZ1ktextMIw441aTir/e8vMAvqhxIREiXCVWdgmkdg Wpl414F5pcZVEi9R4v94ixCkqZwjU2l0tfsW0gorsJRIEaN2uwR9UfW2Q4hpwfwuPdWz ITQ1O3X6vAVGZr+WegkfqbzHX3QNxMmGLuTfevrHzfnIttaCJbO9YBlfp2g1+5oK5M/L /3enCaVSRIRj6Tn+PcZot4g9dWUBfBEN+gq4cpoALznvDuCm72LVGP4bOkC1rPmgxWB7 zlrw== 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 n6si120090ejc.328.2020.07.08.08.38.57; Wed, 08 Jul 2020 08:39:21 -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 S1730108AbgGHPic (ORCPT + 99 others); Wed, 8 Jul 2020 11:38:32 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:37418 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729022AbgGHPic (ORCPT ); Wed, 8 Jul 2020 11:38:32 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 0E58EBC0C2; Wed, 8 Jul 2020 15:38:28 +0000 (UTC) From: "Alexander A. Klimov" To: ohad@wizery.com, bjorn.andersson@linaro.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH] Replace HTTP links with HTTPS ones: REMOTE PROCESSOR (REMOTEPROC) SUBSYSTEM Date: Wed, 8 Jul 2020 17:38:22 +0200 Message-Id: <20200708153822.15031-1-grandmaster@al2klimov.de> 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 --- Continuing my work started at 93431e0607e5. See also: git log --oneline '--author=Alexander A. Klimov ' v5.7..master (Actually letting a shell for loop submit all this stuff for me.) If there are any URLs to be removed completely or at least not HTTPSified: Just clearly say so and I'll *undo my change*. See also: https://lkml.org/lkml/2020/6/27/64 If there are any valid, but yet not changed URLs: See: https://lkml.org/lkml/2020/6/26/837 If you apply the patch, please let me know. drivers/remoteproc/da8xx_remoteproc.c | 2 +- drivers/remoteproc/keystone_remoteproc.c | 2 +- drivers/remoteproc/omap_remoteproc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/remoteproc/da8xx_remoteproc.c b/drivers/remoteproc/da8xx_remoteproc.c index 98e0be9476a4..9a4938c3025f 100644 --- a/drivers/remoteproc/da8xx_remoteproc.c +++ b/drivers/remoteproc/da8xx_remoteproc.c @@ -27,7 +27,7 @@ MODULE_PARM_DESC(da8xx_fw_name, /* * OMAP-L138 Technical References: - * http://www.ti.com/product/omap-l138 + * https://www.ti.com/product/omap-l138 */ #define SYSCFG_CHIPSIG0 BIT(0) #define SYSCFG_CHIPSIG1 BIT(1) diff --git a/drivers/remoteproc/keystone_remoteproc.c b/drivers/remoteproc/keystone_remoteproc.c index cd266163a65f..252ac6e2f653 100644 --- a/drivers/remoteproc/keystone_remoteproc.c +++ b/drivers/remoteproc/keystone_remoteproc.c @@ -2,7 +2,7 @@ /* * TI Keystone DSP remoteproc driver * - * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ + * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/ */ #include diff --git a/drivers/remoteproc/omap_remoteproc.c b/drivers/remoteproc/omap_remoteproc.c index 6955fab0a78b..d191610454d9 100644 --- a/drivers/remoteproc/omap_remoteproc.c +++ b/drivers/remoteproc/omap_remoteproc.c @@ -2,7 +2,7 @@ /* * OMAP Remote Processor driver * - * Copyright (C) 2011-2020 Texas Instruments Incorporated - http://www.ti.com/ + * Copyright (C) 2011-2020 Texas Instruments Incorporated - https://www.ti.com/ * Copyright (C) 2011 Google, Inc. * * Ohad Ben-Cohen -- 2.27.0