From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from e28smtp07.in.ibm.com ([125.16.236.7]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aTx2V-0004Cs-9J for kexec@lists.infradead.org; Thu, 11 Feb 2016 19:36:32 +0000 Received: from localhost by e28smtp07.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 12 Feb 2016 01:06:06 +0530 Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay02.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u1BJZsHs9502994 for ; Fri, 12 Feb 2016 01:05:54 +0530 Received: from d28av01.in.ibm.com (localhost [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u1C15bdf032189 for ; Fri, 12 Feb 2016 06:35:37 +0530 Message-ID: <1455219355.2826.1.camel@linux.vnet.ibm.com> Subject: Re: [PATCH v3 14/22] security: define kernel_read_file hook From: Mimi Zohar Date: Thu, 11 Feb 2016 14:35:55 -0500 In-Reply-To: <56BCBCA9.3040102@schaufler-ca.com> References: <1454526390-19792-1-git-send-email-zohar@linux.vnet.ibm.com> <1454526390-19792-15-git-send-email-zohar@linux.vnet.ibm.com> <56BCBCA9.3040102@schaufler-ca.com> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Casey Schaufler Cc: Rusty Russell , Kees Cook , fsdevel@vger.kernel.org, Dmitry Kasatkin , "Luis R. Rodriguez" , Dmitry Torokhov , kexec@lists.infradead.org, David Howells , linux-security-module@vger.kernel.org, Eric Biederman , David Woodhouse , linux-modules@vger.kernel.org On Thu, 2016-02-11 at 08:54 -0800, Casey Schaufler wrote: > On 2/3/2016 11:06 AM, Mimi Zohar wrote: > > The kernel_read_file security hook is called prior to reading the file > > into memory. > > > > Signed-off-by: Mimi Zohar > > Acked-by: Casey Schaufler > > Being able to deny the read prior to performing any > real work makes a lot of sense. Thanks, Casey! Mimi _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec