Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752293AbbLUV7Z (ORCPT ); Mon, 21 Dec 2015 16:59:25 -0500 Received: from mail-yk0-f193.google.com ([209.85.160.193]:35409 "EHLO mail-yk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750985AbbLUV7X (ORCPT ); Mon, 21 Dec 2015 16:59:23 -0500 MIME-Version: 1.0 In-Reply-To: <20151217193350.GR20409@wotan.suse.de> References: <1449597684-4631-1-git-send-email-zohar@linux.vnet.ibm.com> <1449597684-4631-4-git-send-email-zohar@linux.vnet.ibm.com> <20151217193350.GR20409@wotan.suse.de> From: "Luis R. Rodriguez" Date: Mon, 21 Dec 2015 13:58:59 -0800 X-Google-Sender-Auth: _lz7fTCBZRUMRGLjXXWEFHPeEJk Message-ID: Subject: Re: [PATCH v1 3/7] ima: load policy using path To: Mimi Zohar Cc: linux-security-module , Dmitry Kasatkin , linux-ima-devel@lists.sourceforge.net, Dmitry Kasatkin , David Woodhouse , David Howells , Vivek Goyal , Roberts@suse.de, William C , Greg Kroah-Hartman , Kees Cook , Linus Torvalds , Dmitry Torokhov , Arend Van Spriel , Tom Gundersen , Johannes Berg , Seth Forshee , Julia Lawall , Kyle McMartin , Andy Lutomirski , Daniel Vetter , Ming Lei , Marcel Holtmann , Hannes Reinecke , Takashi Iwai , Rik van Riel , linux-wireless , "Luis R. Rodriguez" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1300 Lines: 26 On Thu, Dec 17, 2015 at 11:33 AM, Luis R. Rodriguez wrote: > Please no, instead of adding yet-another kernel file-loading facility which is > likely error prone we should consolidate *all kernel file-loading facilities* > into a *common generic shared one*. So please work to make that happen since you > need yet-another user for it.m.com > > Since you need yet-naother kernel file-loader please do the work to generalize > it, or at least try it. As per review in another thread with Mimi we determined they're not adding a *new* reader, but using an existing one. The possible issues with early read and pivot_root() as well as possible considerations for a common user mode helper are still relevant for when we generalize a common kernel loader. Mimi has also pointed out a few other kernel loaders. It seems we'll try to tackle this after the holidays. To help keep track of progress and consolidate notes on this I've stuffed details about this on this wiki: http://kernelnewbies.org/KernelProjects/common-kernel-loader Luis -- 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/