Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1027814ybh; Mon, 13 Jul 2020 07:33:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQMJ6gINesnNf30lu9Yq5HOtYQLy/d8MSff+AGfZCOuuJI64pZ1lJ4xRyzPYwSTuHZRWrY X-Received: by 2002:a17:906:6b8d:: with SMTP id l13mr104746ejr.136.1594650820144; Mon, 13 Jul 2020 07:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594650820; cv=none; d=google.com; s=arc-20160816; b=m/c1nZnduXi5O7hVlikZT2FpWCPZhLuuzB1KCsaNaETFj9J01vRe308/ijwREuQsex pvHtGwXe5D4nNxK8tuWAOW+MaB939VNC18bYhnbvyQhV8kRe27OwZ/fNIgnqoG+VM3qF z8U/oSdDWwYD6sijRxMRXQ4fOHoCYTtklMIlG5yBB7cA6mRxRWAq23cpiW2IkUQIrfuz dD4Xr6KREnXN7DsVl+8zgwoPSCcetseGh7h5jASMSatu+Sk5bNBoM/Fzg9W0MjcTYYvt fwvSekHeTnJPkQ99q6a6fYcS66bE0YplcKexY93pO6UOMgmQPhTf8X4hCFWSjoPCtVRL f9VQ== 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=QvTcBr7Gs3IS2miOQeGWPnjGBUGLJmI6gbcQl4QcjDI=; b=TO5xNOy5SgoSo6oqV5NvJR3mj57rzU5+RNn4GF0it1dCClL8BuyEuSxAb5ps9a6nT4 TcgkQGJig945xoecHRejAZd/LswfiRy4GVn6aysOREltXCXPTKN+gQ6WphXhqBoiv4rb rXVKcU7huYEaY5DEupgPNqB75xnVT2idnWgDnGAEh9m0qhM8lze5Lv4V42JjB4YFu0vp fkSCQbpBWPGwmSK6EFU0AVFOxnTajI5DhWY0KD1i2T7XQ7Zy9RRXc8/GzcLHnX0s4Q4L +WumH+0B3MUTrR2d9hkEqpux+2P48mEcETi0T06VUDKmeb6EazTfMH9Y45uyqiLnyWfv JMsg== 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 bc14si8918918edb.368.2020.07.13.07.33.16; Mon, 13 Jul 2020 07:33:40 -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 S1729948AbgGMObE (ORCPT + 99 others); Mon, 13 Jul 2020 10:31:04 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:46440 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729659AbgGMObE (ORCPT ); Mon, 13 Jul 2020 10:31:04 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 42AE6BC06E; Mon, 13 Jul 2020 14:31:01 +0000 (UTC) From: "Alexander A. Klimov" To: isdn@linux-pingi.de, davem@davemloft.net, gregkh@linuxfoundation.org, arnd@arndb.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH] isdn/capi: Replace HTTP links with HTTPS ones Date: Mon, 13 Jul 2020 16:30:54 +0200 Message-Id: <20200713143054.34978-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 just 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. Sorry again to all maintainers who complained about subject lines. Now I realized that you want an actually perfect prefixes, not just subsystem ones. I tried my best... And yes, *I could* (at least half-)automate it. Impossible is nothing! :) drivers/isdn/capi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/capi/Kconfig b/drivers/isdn/capi/Kconfig index cc408ad9aafb..fdb43a632215 100644 --- a/drivers/isdn/capi/Kconfig +++ b/drivers/isdn/capi/Kconfig @@ -5,7 +5,7 @@ config ISDN_CAPI This provides CAPI (the Common ISDN Application Programming Interface) Version 2.0, a standard making it easy for programs to access ISDN hardware in a device independent way. (For details see - .) CAPI supports making and accepting voice + .) CAPI supports making and accepting voice and data connections, controlling call options and protocols, as well as ISDN supplementary services like call forwarding or three-party conferences (if supported by the specific hardware -- 2.27.0