Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1187324yba; Fri, 3 May 2019 18:21:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyn8JCvXOV6UKI8gI+VBXFdXv4OBxNjY7BhE981bweOroucKuN4hbh20F9uO3qdo2xB+q4q X-Received: by 2002:a17:902:e70c:: with SMTP id co12mr14822692plb.339.1556932889945; Fri, 03 May 2019 18:21:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556932889; cv=none; d=google.com; s=arc-20160816; b=xyr1hB1Kn8XTNMXcg60TG2e56UvfHw2QwjaihGLW8ikfX3XjJuCDKLGkI3bwnT31CX +l9YjMLpsHgJ7rRNAmFgK4x51hAW1HCOKNJf4rG9kSxjiUaBcVCcOCS6DSiS99DLIkB9 l//neoWGvs8+d3xcDnnbGfI2nOLL1ASHv/RUzz6H8DPil9Cm7xm+Lo2auO0Hg/JsMa1C WbxBbYlwKPjjoc0H0IAgoT5oawbi3JCyGFzKHw0YxeJUTQIVftVo4Vogaf0hvPl5HQKJ kXKP+BXsdIrRjlb7Gt8xUvi+nsmcrHIiYHnjuKUqLT28kZi8LN+5Xv/eiAsM66w6/huV vC1w== 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=Yvz1h3uWXxpTkOnnU/TKaBDR2WAc1nuALwyWB7QLiTo=; b=jStF70Es+jNHEPfsNIqDasd6tseJs893p87b9zdkXedWgo/ev01YosHSwE37xVYg5q J2YEwnzvfIDzeuNJMIKV7DM1B3CK6fGXsBGk8ARfabpEOHU0ZWYySbTBnz1P0JfJ6vhb ktD50EJCaGCeZwtHMe1u1qT7WQOc6FjXurPald9x+tC04hf0TonFIeiZM/puHRKQ3wyi GmH9JJNboAdE2xlQvzDikqpQUq8lfZQke9QueSb+OL6PFR9c/Gg97lc0Mq+oQP8P0g6S 37P+KzLnM9IYO1Ww0WGm8H6Hdt7aCw67JwhTg9Nlb50gRfpq5AfvGwaHMDIYjlmS2Xnu AjcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=YvyFgbpu; 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 gn22si4811601plb.263.2019.05.03.18.21.14; Fri, 03 May 2019 18:21:29 -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=@joelfernandes.org header.s=google header.b=YvyFgbpu; 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 S1726604AbfEDA7Y (ORCPT + 99 others); Fri, 3 May 2019 20:59:24 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:35204 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726220AbfEDA7X (ORCPT ); Fri, 3 May 2019 20:59:23 -0400 Received: by mail-pf1-f193.google.com with SMTP id t87so3148076pfa.2 for ; Fri, 03 May 2019 17:59:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Yvz1h3uWXxpTkOnnU/TKaBDR2WAc1nuALwyWB7QLiTo=; b=YvyFgbpuBemeeHnrSn+PdX7AyZ4vOEFKZO+dOgh3izhAOTRnS/K74laZpqfhSO+LpS Jx2poX6BhBhW9SFpGW5jyP2vj1YNk9NOUD3ecYlTttLd7e32AtIIcx+W9+yl3DNVESyB wXKGnUBGYX5aiU9l09tLqw3DXTe5q1/D+TbFg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Yvz1h3uWXxpTkOnnU/TKaBDR2WAc1nuALwyWB7QLiTo=; b=rZOPmuJ7e+HNnFT2hGXRf9oEiawKReEi21wi+4lo0qNY24Eoc6idaGqGYegmyZI3Do goYtStk9193HJQ8bSO8PgvobwajGQS4N1zaVHc8DEcEpV3nNb5fVxRELgQ91poApU8l/ pcrpYy6/Ds8iQTZRTUvh6CDaqq46NwmX1eNun7ulPFZLaL8+B+r7UXQDvwxRcuqRP6oK WOV5GdYu6UImFEUs5bDuZdbJiedkL72wZf0rkqWKa7JQIPqmYpo69V6HgNYLmISOCktB HYCNQ7USXpOI3PUXUuXC5OUZWv9Pb9Ny4tcVEMm37ncKJuKtuErYNBdTOuIxLJZzmpht EOcw== X-Gm-Message-State: APjAAAXORi98XbOD5A+FkHaWySFb+pPNS+nafy0zP3iqsIYs7a1yTATL TnNfs0Aq7DKXx37AGXPJczFjBA== X-Received: by 2002:a62:70c6:: with SMTP id l189mr15362930pfc.139.1556931562728; Fri, 03 May 2019 17:59:22 -0700 (PDT) Received: from localhost ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id a3sm4163407pfn.182.2019.05.03.17.59.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 May 2019 17:59:21 -0700 (PDT) Date: Fri, 3 May 2019 20:59:20 -0400 From: Joel Fernandes To: Masahiro Yamada Cc: Linux Kernel Mailing List , Steven Rostedt , Adrian Ratiu , Alexei Starovoitov , Andrew Morton , atish patra , bpf@vger.kernel.org, Brendan Gregg , Brendan Gregg , Daniel Colascione , Daniel Borkmann , Dan Williams , Dietmar Eggemann , duyuchao , Greg Kroah-Hartman , Guenter Roeck , Jonathan Corbet , Karim Yaghmour , Kees Cook , "Cc: Android Kernel" , "open list:DOCUMENTATION" , "open list:KERNEL SELFTEST FRAMEWORK" , linux-trace-devel@vger.kernel.org, Manjo Raja Rao , Masami Hiramatsu , =?utf-8?Q?Micha=C5=82?= Gregorczyk , Michal Gregorczyk , Mohammad Husain , Olof Johansson , Qais Yousef , Randy Dunlap , Shuah Khan , Srinivas Ramana , Tamir Carmeli , Yonghong Song Subject: Re: [PATCH] kheaders: Move from proc to sysfs Message-ID: <20190504005920.GA261146@google.com> References: <20190503182459.159121-1-joel@joelfernandes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 04, 2019 at 09:21:41AM +0900, Masahiro Yamada wrote: > On Sat, May 4, 2019 at 9:18 AM Masahiro Yamada > wrote: > > > > On Sat, May 4, 2019 at 3:27 AM Joel Fernandes (Google) > > wrote: > > > > > > The kheaders archive consisting of the kernel headers used for compiling > > > bpf programs is in /proc. However there is concern that moving it here > > > will make it permanent. Let us move it to /sys/kernel as discussed [1]. > > > > > > [1] https://lore.kernel.org/patchwork/patch/1067310/#1265969 > > > > > > Suggested-by: Steven Rostedt > > > Signed-off-by: Joel Fernandes (Google) > > > --- > > > This patch applies on top of the previous patch that was applied to the > > > driver tree: > > > https://lore.kernel.org/patchwork/patch/1067310/ > > > > > > kernel/kheaders.c | 40 ++++++++++++++++------------------------ > > > > > > Please rename CONFIG_IKHEADERS_PROC. > > > > Thanks. > > > Please adjust Kconfig prompt. > tristate "Enable kernel header artifacts through /proc/kheaders.tar.xz" > > > "depends on PROC_FS" -> "depends on SYSFS" Sorry to miss these config updates. I will update the patch and resend.