Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5605285img; Wed, 27 Mar 2019 11:33:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMIOwPsuSHfL4RUq00QwzdtOA7CKQIXk7mNPxfa1YKiCVKDOhyLtjnzc4gsnIJcbE85z5I X-Received: by 2002:a63:594a:: with SMTP id j10mr35912655pgm.279.1553711599809; Wed, 27 Mar 2019 11:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553711599; cv=none; d=google.com; s=arc-20160816; b=bgwKyCjpzMzjZJmw7OcTwv2mdlY/yC2RDEzTFoa7pLDarsUQGw4JQlGmn0A52i24TU Dajwy7Zr1uJXbaVGuqD9DuPvGMXFpv7KXPUkn04ccTYUXx2LG7SFIhHoaVCqG/y+/V0X 04BhG9jctripsA2Rm3OeWUNOTg7eOV7ag4E2exCfyyXP3C0i/ongvQnocNlXIxz9iB5l gmVogN3rvLLdmt6fQ7CAAgh7DfZIN8iW+lYnh3dDVkbkY1A0NPoRRGklPjWACg5QvtUG 73rl4GOBNQk3xC0pE5J2BCnYjkdL/QxQZKmzkDLT3nUoX9gaHl70LVLTBWBuaSOs94W4 2rKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0CDe4IYOkvfCAhXPOrL+Q6Ekbxo/OS36MH+GwMkI3e8=; b=E/kcudl4cmSm7eVrwVacXoCil4+mYXmXwkD2H8XCyllyqDtJifOS4BjljCTsMGepST 4Ag4rfg5HNF0QfZHQYSkLgTCN1c8xEykusbsIIrA+tii3ODnf5xfEciPv8Pic6FL3tor aV74J1KKBFJppu2cS6Lfm3Hbwx8hqb4cECr77WCfoi1Wj1Mefal8MGMhxrzztqtFufL/ JAw0nDq8WMMfbnt1hEfULROho184QZjs1/RxjD3FH9ZtAw9xurP0LYY4A9onc57V4hm7 jnBs1oYg9I4Y0dGVQLFSYC38whvKZdA2LO6IrTftXtnfWIVgU7NZKpVBKEv30sr/tPbh 9Qdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1Qhbn+l7; 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 z184si13136162pgd.588.2019.03.27.11.33.04; Wed, 27 Mar 2019 11:33:19 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=1Qhbn+l7; 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 S2391914AbfC0Sao (ORCPT + 99 others); Wed, 27 Mar 2019 14:30:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:51904 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391656AbfC0Sal (ORCPT ); Wed, 27 Mar 2019 14:30:41 -0400 Received: from localhost (unknown [88.128.80.233]) (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 7E0A02147C; Wed, 27 Mar 2019 18:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553711441; bh=FEebj0502C3pFhHspUOoBenpKH2Cm67GYCFW9wmbjw8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1Qhbn+l7hFrMmzWdg7Yr9Y6H0SOHHOCJRbFUQH5kJJCmHIEcnAFTJx2W6uSnQgmMO rIisQtBgpwc3estXTCtwc7+yOfAw8otbXa9OcZt7S35U4yxaH6xRtQQthYZylPVM8D 0mb0AqbGyqke+Kq+7PQkZmk1RtfS6fbA/teowemQ= Date: Thu, 28 Mar 2019 03:29:47 +0900 From: Greg KH To: Matthew Garrett Cc: Andy Lutomirski , James Morris , LSM List , LKML , David Howells , Linux API Subject: Re: [PATCH V31 25/25] debugfs: Disable open() when kernel is locked down Message-ID: <20190327182947.GA9371@kroah.com> References: <20190326182742.16950-1-matthewgarrett@google.com> <20190326182742.16950-26-matthewgarrett@google.com> <20190327003057.GA27311@kroah.com> <20190327050615.GA548@kroah.com> <16124107-70D3-4CA0-9766-36FC6DC10128@amacapital.net> <20190327053342.GA17484@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 27, 2019 at 10:42:18AM -0700, Matthew Garrett wrote: > On Wed, Mar 27, 2019 at 10:40 AM Andy Lutomirski wrote: > > As far as I'm concerned, preventing root from crashing the system > > should not be a design goal of lockdown at all. And I think that the > > "integrity" mode should be as non-annoying as possible, so I think we > > should allow reading from debugfs. > > I have no horse in this game - I'm happy to bring back the previous > approach for integrity mode and block reads entirely in > confidentiality mode, but I'd rather not spend another release cycle > arguing about it. I really do not care either way about any of this :) greg k-h