Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp727089ybh; Tue, 21 Jul 2020 06:34:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOrN1YVH/DLRQPkYmjYzZ1ghOITNzItffDYp8L3vK0bQs2mUUrEX1qavt98BkKVO0hfbnA X-Received: by 2002:aa7:d285:: with SMTP id w5mr26893010edq.174.1595338444980; Tue, 21 Jul 2020 06:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595338444; cv=none; d=google.com; s=arc-20160816; b=hj8KT1SnCq8HJ9bLMGsNlDlBLTP2Y52cjX5rn/rgdPgWuxrXUt0mhm7rH5dfXR+2da 2zLuPIjbLEoKtD3ZR8cPwkm4QNOB9rdaBBLviOn8Cx1Tc5ntzjENk7BLCJYKNdnHU7bR zgTUb0ZRJOPRZ+0+bs7zsAZ771QeDXzVaXd/SfagHohdqx4BR/SNcTh1/IaoCRvKI02R 2x5MgNrSwwWzUTVIKTFc8Cqc9VoUKiEs4o3x0BA3D0yHxq3E5lMk/os30Wq4onmqRCGI 3uPyKKJRyCMSA8JydvTvVLaz8UAgWYtqhANNLpCJCv417eihq1OgcPbxZmXehOg+eELq I3mw== 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:subject:cc:to:from:date :dkim-signature; bh=7No1LodgI1dTtDNsvCL2uusWU2nEU9AosjrYXQdinrY=; b=z3zM7zEKM+u+AkOHpC0+ZN6hcK8mA35ygEeHlEyXBGo28ICecMIrvcXAwI0KezAsNr I5Fklj5hLMlrj8U/7L6EHTgPB99Lh3B6WKtZqQYGBjjC6pTNuMxr3BtI+Ni7dBAbjrm0 mI3cxGz0icsHp0v7DcRSzK8l3wz1YNncRectGCXKNYzhQ5TpVFuJsPRNxH0cBLMExlB0 lL6MbCtiwGub40417KwIbi5AxGZeD2sfcFbZ835s0cODp21Zq96hjgCSjs4aAgzXMu4G ULbck5fk0/AZ2g3ugYjKQPSWLV8ZEO0QOoJNlo5603XASdOK13Oxg2goKCpW4iaR39x2 BwaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FylJoQqJ; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cm19si12014517edb.529.2020.07.21.06.33.41; Tue, 21 Jul 2020 06:34:04 -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=@kernel.org header.s=default header.b=FylJoQqJ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728337AbgGUNbH (ORCPT + 99 others); Tue, 21 Jul 2020 09:31:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:35452 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726192AbgGUNbG (ORCPT ); Tue, 21 Jul 2020 09:31:06 -0400 Received: from devnote2 (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 24AD9206E9; Tue, 21 Jul 2020 13:31:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595338266; bh=XU1hnquLcT3uOLI4CEBQSKNiZLfuqrOpsjs/ol0fJo0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FylJoQqJ/ehmVF0ki09SSZeGx6cTPmYCPzZySi4AGS0knaN4gPsguYtsBSrqx0B+k HF7WkU7SK1+eR+v4tGCovnYOrJBoO3DNjsJOgwIDa8pFIAmeIiYrVHuAaoBWS9l57+ Ocz+h/JyemWLpd6YWSj9T5OlLyu7qht9AbfTtd6o= Date: Tue, 21 Jul 2020 22:31:02 +0900 From: Masami Hiramatsu To: "Alexander A. Klimov" Cc: naveen.n.rao@linux.ibm.com, anil.s.keshavamurthy@intel.com, davem@davemloft.net, corbet@lwn.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kprobes: Replace HTTP links with HTTPS ones Message-Id: <20200721223102.25b67b3c6b2114c146373a7a@kernel.org> In-Reply-To: <20200709191636.26252-1-grandmaster@al2klimov.de> References: <20200708184201.611d929ae6017c87ea98b114@kernel.org> <20200709191636.26252-1-grandmaster@al2klimov.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 9 Jul 2020 21:16:36 +0200 "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: > 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. > Acked-by: Masami Hiramatsu Thanks! > Signed-off-by: Alexander A. Klimov > --- > I'd really would like to get HTTPSifying done before other tasks... > > Documentation/kprobes.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/kprobes.txt b/Documentation/kprobes.txt > index 8baab8832c5b..88b4d2845b37 100644 > --- a/Documentation/kprobes.txt > +++ b/Documentation/kprobes.txt > @@ -693,7 +693,7 @@ process. Here are sample overhead figures (in usec) for x86 architectures:: > TODO > ==== > > -a. SystemTap (http://sourceware.org/systemtap): Provides a simplified > +a. SystemTap (https://sourceware.org/systemtap): Provides a simplified > programming interface for probe-based instrumentation. Try it out. > b. Kernel return probes for sparc64. > c. Support for other architectures. > -- > 2.27.0 > -- Masami Hiramatsu