Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934641AbbDQOgu (ORCPT ); Fri, 17 Apr 2015 10:36:50 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:35622 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933970AbbDQOgn (ORCPT ); Fri, 17 Apr 2015 10:36:43 -0400 Date: Fri, 17 Apr 2015 15:36:40 +0100 From: Matt Fleming To: Greg Kroah-Hartman Cc: "Kweh, Hock Leong" , Ming Lei , "Ong, Boon Leong" , LKML , "linux-efi@vger.kernel.org" , Sam Protsenko , Peter Jones , Andy Lutomirski , Roy Franz , Borislav Petkov Subject: Re: [PATCH v4 2/2] efi: an sysfs interface for user to update efi firmware Message-ID: <20150417143640.GB3671@codeblueprint.co.uk> References: <1429004697-28320-1-git-send-email-hock.leong.kweh@intel.com> <1429004697-28320-3-git-send-email-hock.leong.kweh@intel.com> <20150414140914.GE5989@kroah.com> <20150415131906.GC21491@kroah.com> <20150417134924.GB19794@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150417134924.GB19794@kroah.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1195 Lines: 29 On Fri, 17 Apr, at 03:49:24PM, Greg KH wrote: > > Not really, the kernel namespace is what matters at that point in time. > > And maybe it does matter, I haven't thought through all of the issues. > But passing a path from userspace, to the kernel, to have the kernel > turn around again and use that path is full of nasty consequences at > times due to namespaces, let's avoid all of that please. Oh crap. The namespace issue is a good point and not something I'd thought of at all. At this point, I think we've really run out of objections to Andy's suggestion of implementing this as a misc device, right? The concern I had about userspace tooling can partly be addressed by including the source in tools/ in the kernel tree. So provided we do that, I'm happy enough to see this implemented as a misc device because the other options we've explored just haven't panned out. Objections? -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/