Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6135479imb; Fri, 8 Mar 2019 10:02:10 -0800 (PST) X-Google-Smtp-Source: APXvYqz0JOuan9SCN42ZoiZZuU+iz32eCWwbrniU0mAjT5HUvL9MUf7UP373BBJLuUbckRP1+eSH X-Received: by 2002:a17:902:8602:: with SMTP id f2mr20266953plo.263.1552068130359; Fri, 08 Mar 2019 10:02:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552068130; cv=none; d=google.com; s=arc-20160816; b=ZN2HyUC5DQL1dVeyNFM+3YVd9A1T/AcS1Dc/3HM4NtXr4uO6JV++q9RZ8varsgYmRJ 64FBo5VXqQdqqVuT8hImsrCA6Zfi1H5L0nEN4MVMKPZWFeFSnZobn2Ac9/XRHURuBlP9 lp/+Z/5ugWaTIJDpaZEtFo/+/lw940U3Z/AfYlNlQSA9/slrCwF6ttq9Z8xpmuk3JcNN rnOmciaJDCc+/k46uM1ZH6oy8v8CDgdNUt9raQJ9CS5JcSHcOjbCKleghb/16NB1XECe EChqWQH2XRdzUm7W/v4HQpgB+sZ63VAfY1FO3EVLRRqc/RVLK57xK4muFcZJkhnfI2ph WG5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=Bl23IqlXVLl4dYGtmdvkTWrze0qrDnnH2IRJyRYQ07A=; b=grYg2ju2529YSNFLxVd/SLwi3xG2FnJasZXrQKNHqpBSFFBkpaZnTl4bAwJ64qZn6u ibLWg4Lw/g52tT4IRNjCBZCn24q3AAQXAANndy3XYTnRqT05y+FtcZb/kRI3EC8dS0Zj Pub47GCNE4wxrQiQ9bb5ScE8fUmuzXRJVHY8qbepsbEUEmreXHFRN6fzP4+8NHyGkbZK ITzzfByI0gkpzqUh3MsUhEUiEfqVM96RsCTWD1O77LnfVFBXwwQXjhzAenJEBrknWdLC HVmh9m65vTey+BnACzDouopuDIzFcqmCk/QjWdhEvggUpxUa8uZpOSlsRlzNm4KSbPZf z4jQ== 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 z18si6760051pgf.66.2019.03.08.10.01.54; Fri, 08 Mar 2019 10:02:10 -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 S1727081AbfCHR7j (ORCPT + 99 others); Fri, 8 Mar 2019 12:59:39 -0500 Received: from mail-vs1-f67.google.com ([209.85.217.67]:33865 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726694AbfCHR7i (ORCPT ); Fri, 8 Mar 2019 12:59:38 -0500 Received: by mail-vs1-f67.google.com with SMTP id h7so7162794vsl.1; Fri, 08 Mar 2019 09:59:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Bl23IqlXVLl4dYGtmdvkTWrze0qrDnnH2IRJyRYQ07A=; b=Ji01P01h5hyyxyyp6yKIIczbonBI9eBQP6wlkptiqGmBcxLypFENFRcj2+1Iytl9Eh ArKd03pQ0c6y8ZxzBOC4K9wH/QU+1SqLLSolDuHO4HbmNTSDoO4WQjrsgpvFL0E7keBI pCC8/KjX8QMgFXQ54kEKq5tT6/c1Cj3h4p/Wna6aXFYIpu5w+VbGWK430yi/E/cw3T5B h/21LpDK9OzbkPWLKAVbuOMA6bKhpWJ3Dbi7HwjQdId7Jho4QzwvOwVcHxNFsDkzMb35 sWc7fohzrjtyQqgpBiM1e7J+jtizpb8ezUPLqv2XCiDrdro9wrviTixVrglvZqEQ3Frl STzw== X-Gm-Message-State: APjAAAXH+knGDrkbvJ0zJypbzLTMEq32TgdTcB1hx1jHf+X1jAbYy8TL h52U9y2HpodlYOURJq+FjJGNvf7ZUJCjYOGBwz4= X-Received: by 2002:a67:fc9a:: with SMTP id x26mr10580270vsp.166.1552067976545; Fri, 08 Mar 2019 09:59:36 -0800 (PST) MIME-Version: 1.0 References: <20190301160856.129678-1-joel@joelfernandes.org> <20190307150343.GB258852@google.com> <20190308140251.GC25768@kroah.com> In-Reply-To: <20190308140251.GC25768@kroah.com> From: Geert Uytterhoeven Date: Fri, 8 Mar 2019 18:59:23 +0100 Message-ID: Subject: Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel To: Greg KH Cc: Joel Fernandes , LKML , Andrew Morton , Alexei Starovoitov , atish patra , Daniel Colascione , Dan Williams , Dietmar Eggemann , Guenter Roeck , Jonathan Corbet , Karim Yaghmour , Kees Cook , Android Kernel Team , "open list:DOCUMENTATION" , "open list:KERNEL SELFTEST FRAMEWORK" , linux-trace-devel@vger.kernel.org, Manoj Rao , Masahiro Yamada , Masami Hiramatsu , Qais Yousef , Randy Dunlap , Steven Rostedt , Shuah Khan , Yonghong Song Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, On Fri, Mar 8, 2019 at 6:05 PM Greg KH wrote: > On Fri, Mar 08, 2019 at 05:42:32AM -0800, Joel Fernandes wrote: > > On Fri, Mar 8, 2019, 3:53 AM Geert Uytterhoeven wrote: > > > > It is just so much easier to use tar + xz at build time, and leave the > > > > decompression task to the user. After decompression, the files will live on > > > > the disk and the page-cache mechanism will free memory when/if the files fall > > > > off the LRUs. > > > > > > I'm also considering how generic and extensible the solution is. > > > What if people need other build artifacts in the future (e.g. signing key to > > > load signed modules)? > > > > That sounds like it could be useful. I don't see any reason off the > > top why that would not be possible to add to the list of archived > > files in the future. The patch allows populating the list of files > > from Kbuild using ikh_file_list variable. > > Um, no, you don't want the signing key in the kernel itself, as that > totally defeats the purpose of the signing key :) In a loadable module? He who has the module, can build and sign more modules. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds