Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6090883ybf; Thu, 5 Mar 2020 12:56:58 -0800 (PST) X-Google-Smtp-Source: ADFU+vsSnvTAnbms9DHnPVj8xjyc3zaMIEuJ8Q93JWFoyOfd7DjNk8CP3bq0wtdacNn9l64CGd6A X-Received: by 2002:a05:6830:50:: with SMTP id d16mr330558otp.166.1583441818206; Thu, 05 Mar 2020 12:56:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583441818; cv=none; d=google.com; s=arc-20160816; b=0TWE4/o/gC7dpYIjl8bZcJfRx0E3bcazLdZtGPcLt03P8E82HFXpxfNr3k569u6Z5m PeHJFs8rNjPRbnDd2g6Nt/yUYPga+oNvE1bG4Aed4Rv845inOawCSpGpbOPHcPKZrfj/ GQ7EhGXgdpIpwcQW/xAYa7/Y4VlCUY4Jm8nFWDhhBU+EqtxHzrdcCHxYSHh85XWBT92l G3qzWVqy0WRkmyt0NZaqoqFmDb1TC/x2XiIKswd6AwBPt+9iy7vnShAzehhgo3nJh6sw FzUrzWQne2pTejyWFCWLW2Fb/jAscOFOJ/m+A8oTpT4z2SrIVlKLrz3rP3x9DCTfXLjA sz8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding; bh=vlJL5G+x2/cJpH0R6PEBEYNIKlAO2/UQnwMRxkBPcY8=; b=b+9WV+23EmJ9c5MP1u6ZAvrr/qUkupqbnuywHIgTSUZwQaHomqmGcIxmILpqCIlZVM BmoV2fQWnnMS6tzMqfh4Ixv6jtx4+p1kKs31xflaap90uEUXC7uaidUsHArcnL3YxZLG +RB74QMvijgVfL9oBjLwn3bHTJlUbMAts9yJEoPbgv5Ef/LXwIZV/wpFsKdaOj9bo35M gRdkrmBVHWAlNWo0BCJYd1mFwIND3hhdXCGvOCGsadoYyqTZVebVcTYUFzhrEnn47NPi GNrNzbUJar3v7uuuFc3Umax6WQi92pR8kRVFiI4XwaAenzHu0oK3YEkx8BEZILSCubgY 2xdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9si24471otp.323.2020.03.05.12.56.45; Thu, 05 Mar 2020 12:56:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726211AbgCEU41 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 5 Mar 2020 15:56:27 -0500 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:57431 "EHLO outpost1.zedat.fu-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbgCEU40 (ORCPT ); Thu, 5 Mar 2020 15:56:26 -0500 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.93) with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1j9xXZ-002RaT-5l; Thu, 05 Mar 2020 21:56:21 +0100 Received: from tmo-119-22.customers.d1-online.com ([80.187.119.22] helo=[10.152.169.150]) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1j9xXY-0001iO-RS>; Thu, 05 Mar 2020 21:56:21 +0100 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT From: John Paul Adrian Glaubitz Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] sh: Stop printing the virtual memory layout Date: Thu, 5 Mar 2020 21:56:15 +0100 Message-Id: <91C97773-5873-4336-9926-A013BB96B75C@physik.fu-berlin.de> References: <20200305205158.GF6506@cisco> Cc: Arvind Sankar , Joe Perches , Kees Cook , "Tobin C . Harding" , kernel-hardening@lists.openwall.com, Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20200305205158.GF6506@cisco> To: Tycho Andersen X-Mailer: iPhone Mail (17D50) X-Originating-IP: 80.187.119.22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Mar 5, 2020, at 9:52 PM, Tycho Andersen wrote: > > On Thu, Mar 05, 2020 at 10:56:29AM -0500, Arvind Sankar wrote: >>> On Thu, Mar 05, 2020 at 04:49:22PM +0100, John Paul Adrian Glaubitz wrote: >>> On 3/5/20 4:46 PM, Arvind Sankar wrote: >>>> Not really too late. I can do s/pr_info/pr_devel and resubmit. >>>> >>>> parisc for eg actually hides this in #if 0 rather than deleting the >>>> code. >>>> >>>> Kees, you fine with that? >>> >>> But wasn't it removed for all the other architectures already? Or are these >>> changes not in Linus' tree yet? >>> >>> Adrian >> >> The ones mentioned in the commit message, yes, those are long gone. But >> I don't see any reason why the remaining ones (there are 6 left that I >> submitted patches just now for) couldn't switch to pr_devel instead. > > If you do happen to re-send with pr_debug() instead, feel free to add > my ack to that series as well. Since it already got removed for most other architectures, I don’t think it makes much sense to keep it for consistency. I just didn’t understand why it was made configurable for debugging purposes in the first place. Also, many distributions disable access to the kernel buffer for unprivileged users anyway. Adrian