Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3133633yba; Tue, 16 Apr 2019 05:34:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhCFdPRBRYXoWJGFJlvu/iNx8E7WIFe51KQHzA+WbChG9LG4npT2Utp9jO774kUzde2IvR X-Received: by 2002:a63:158:: with SMTP id 85mr76528503pgb.351.1555418046784; Tue, 16 Apr 2019 05:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555418046; cv=none; d=google.com; s=arc-20160816; b=pYB34XU0NEEjM5iMhx5f275kWNgUxd2EeKx2EuCth6wHGi+A0Y9XxK/fGvP47KwCAj lvxBN0ajFqoi+RjZfwHiasizkxbFklvRY98LTyltZeJv6v7qiQo85oavR1kvBv9TSa0W 3kuLjm3MM/2VzXx7pm2EebjuhqMIkBxx218SriENpUtrpXeipqpQnvHklBq5UunkCesk Y5tw6eMOI0ANTJ8nywBOqf8w9AjdEPUu4P5gdQRsX+ibmJjq/lai1r7t+nHTk9TeYt8V NJ7Ol1PU1bS0H7cmtygeu2QBey+D8q3a1ttmjA/c31usN65Ef2UB0lqBAfJPbU3oeBTq QMhA== 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; bh=iboAk8yPIQtj9cQ4jNjaw6GekLJiaTAswaDkf1y5j4c=; b=rEuM8twd92qRvFeq0h1j7MEwXwhN8wT7tjmn3cqpKH9kpY1CzBq1PWK7bOcs4yjaDC 3dt0zUNSEp79yR/HBjOORLXq0uDPGz9B+35p/NHEz2lnDPg7Irsm6OBmUfg6580W5c4Y SEbr1QgNJp6SvMfFkW2fVM7uCW0Xam+2G8ugGlPB59rM08tnMmHz6dkf/UdjZtWZyeiR trWD+HiaJcJ5Apv+j7xIFD7kD/HlZ7nTTZe38d90PGcWjC0sKDtcjrBERnbXwiT/9CO1 2nh7LLWB2nqzW7QW6stXM8mDFHuNpBlR+9RAbuqBkpwtcEX1kLMKte7SACHOhJlxWbnH BzQQ== 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 h14si47775080pgl.426.2019.04.16.05.33.50; Tue, 16 Apr 2019 05:34:06 -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; 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 S1728879AbfDPMdM (ORCPT + 99 others); Tue, 16 Apr 2019 08:33:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:45322 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726796AbfDPMdL (ORCPT ); Tue, 16 Apr 2019 08:33:11 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (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 01141206BA; Tue, 16 Apr 2019 12:33:08 +0000 (UTC) Date: Tue, 16 Apr 2019 08:33:06 -0400 From: Steven Rostedt To: Kees Cook Cc: Olof Johansson , Alexei Starovoitov , Joel Fernandes , Joel Fernandes , Linux Kernel Mailing List , Qais Yousef , Dietmar Eggemann , Manoj Rao , Andrew Morton , Alexei Starovoitov , atish patra , Daniel Colascione , Dan Williams , Greg Kroah-Hartman , Guenter Roeck , Jonathan Corbet , Karim Yaghmour , Android Kernel Team , "open list:DOCUMENTATION" , "open list:KERNEL SELFTEST FRAMEWORK" , linux-trace-devel@vger.kernel.org, Masahiro Yamada , Masami Hiramatsu , Randy Dunlap , Shuah Khan , Yonghong Song Subject: Re: [PATCH v5 1/3] Provide in-kernel headers to make extending kernel easier Message-ID: <20190416083306.5646a687@gandalf.local.home> In-Reply-To: References: <20190320163116.39275-1-joel@joelfernandes.org> <20190408203601.GF133872@google.com> <20190411031540.ehezr6kq7ouobpzx@ast-mbp.dhcp.thefacebook.com> <20190415104109.64d914f3@gandalf.local.home> X-Mailer: Claws Mail 3.17.3 (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 Mon, 15 Apr 2019 22:50:10 -0500 Kees Cook wrote: > On Mon, Apr 15, 2019 at 9:41 AM Steven Rostedt wrote: > > I agree with this assessment. We shouldn't use config.gz as precedence > > for this solution. config.gz should have been in debugfs to begin with, > > but I don't believe debugfs was around when config.gz was introduced. > > (Don't have time to look into the history of the two). > > I don't agree with this: /proc/config.gz is used by a lot of tools > that do sanity-check of running systems. This isn't _debugging_... > it's verifying correct kernel builds. It's a fancy version of checking > /proc/version. > Then we should perhaps make a new file system call tarballs ;-) /sys/kernel/tarballs/ and place everything there. That way it removes it from /proc (which is the worse place for that) and also makes it something other than debug. That's what I did for tracefs. -- Steve