Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3199580yba; Tue, 16 Apr 2019 06:46:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkUi2YOxnxlj+1pxeer371v9Vy9SdGLQsogoUNuB7nhSUag6kj7XIxiV3QHK2IYFnUE0w2 X-Received: by 2002:a63:3fc3:: with SMTP id m186mr79037762pga.151.1555422401942; Tue, 16 Apr 2019 06:46:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555422401; cv=none; d=google.com; s=arc-20160816; b=kuenss02w5ixFz8839mqnhgvqCtQ8g9hLPubyNJEo18nFdjTfyN/8FYV780VPqPDMd QcnxdfrK39qSZyOly1nwrlv6cwmwmjmCxw7QvKVcSRD0iTj/1l54zmvyNsk1wS6FC5O9 qO9ykmC9AZnVTF1QpvbX9nJlyrCa2cCf6gK9jPRFfDmn4f7ob1ll4TllGojCqzNVJPCA gzsjud1s9ClGwrVO9vN1WyT+k9z0YepCjb0nuRx8U4H4uirK1416pzeh4or2av2YuRQ/ O1SK/Evh0yiZlGiQfbBRYzuE0oRzWAw6uGNmJqQfgvLalHhqCvpTSJkiN0PUCLi5i+W1 zNfg== 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=rmJ6p8VNPcynPuNCiOiSTkMJQNv2UjDDkpvnON+2t9s=; b=0Eda97ZSxLMyrPxNRMfqyVvhxbE/M8CnC3pCPL0QIG5qgobdaDBXS63ANTJbeCtp6I W7Vk1bsaG1ZE9z9FVIfghL1lHXFNEPk3737I+7KPXQZMx4TIeydBkFfHwIFw2FGWjgQ/ Ul03TeWrNt0S73/D6ws5WZFa/zEokodsg7JTctKgeefuroTo5U5P3BtdCnwGTMob9qkC VZBhJy/fqJy+0zfrisHPtEtGWnMvwv5TL96KkrWcBm90WWEoPN/3yjwjR6USjOJuUzEs 2bn8L1OIZunHZoj6c4BJt46IdNyE6BhGqepOHkTGs5LR1KH1hrFFUENtJwCHiM0SVa2V dnhA== 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 x6si48218829pfa.59.2019.04.16.06.46.25; Tue, 16 Apr 2019 06:46:41 -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 S1729417AbfDPNpP (ORCPT + 99 others); Tue, 16 Apr 2019 09:45:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:44698 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726605AbfDPNpP (ORCPT ); Tue, 16 Apr 2019 09:45:15 -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 5DD5921924; Tue, 16 Apr 2019 13:45:11 +0000 (UTC) Date: Tue, 16 Apr 2019 09:45:09 -0400 From: Steven Rostedt To: Karim Yaghmour Cc: Joel Fernandes , Greg Kroah-Hartman , Kees Cook , Olof Johansson , Alexei Starovoitov , Joel Fernandes , Linux Kernel Mailing List , Qais Yousef , Dietmar Eggemann , Manoj Rao , Andrew Morton , Alexei Starovoitov , atish patra , Daniel Colascione , Dan Williams , Guenter Roeck , Jonathan Corbet , 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: <20190416094509.1af6326b@gandalf.local.home> In-Reply-To: References: <20190408203601.GF133872@google.com> <20190411031540.ehezr6kq7ouobpzx@ast-mbp.dhcp.thefacebook.com> <20190415104109.64d914f3@gandalf.local.home> <20190416083306.5646a687@gandalf.local.home> <20190416124939.GB6027@kroah.com> <20190416130440.GA7944@localhost> 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 Tue, 16 Apr 2019 09:32:37 -0400 Karim Yaghmour wrote: > >>> 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. > >> > >> As horrible as that suggestion is, it does kind of make sense :) > >> > >> We can't put this in debugfs as that's only for debugging and systems > >> should never have that mounted for normal operations (users want to > >> build ebpf programs), and /proc really should be for processes but that > >> horse is long left the barn. > >> > >> But, I'm willing to consider putting this either in a system-fs-like > >> filesystem, or just in sysfs itself, we do have /sys/kernel/ to play > >> around in if the main objection is that we should not be cluttering up > >> /proc with stuff like this. > >> > > > > I am ok with the suggestion of /sys/kernel for the archive. That also seems > > to fit well with the idea that the headers are kernel related and probably > > belong here more strictly speaking, than /proc. > > This makes sense. And if it alleviates concerns regarding extending > /proc ABIs then might as well switch to this. > > Olof, what do you think of this? BTW, the name "tarballs" was kind of a joke. Probably should come up with a better name. Although, I'm fine with tarballsfs ;-) -- Steve