From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755762AbaEJRa4 (ORCPT ); Sat, 10 May 2014 13:30:56 -0400 Received: from mail-we0-f176.google.com ([74.125.82.176]:50491 "EHLO mail-we0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750912AbaEJRay (ORCPT ); Sat, 10 May 2014 13:30:54 -0400 MIME-Version: 1.0 In-Reply-To: <22172.1399666028@jrobl> References: <29977.1399605003@jrobl> <536C8E64.6000009@samsung.com> <11673.1399627021@jrobl> <1399647534.2232.8.camel@dhcp-9-2-203-236.watson.ibm.com> <18674.1399651287@jrobl> <1399664699.2232.59.camel@dhcp-9-2-203-236.watson.ibm.com> <22172.1399666028@jrobl> Date: Sat, 10 May 2014 20:30:53 +0300 Message-ID: Subject: Re: IMA + O_DIRECT (Re: [PATCH 0/1] fix IMA + Apparmor kernel panic) From: Dmitry Kasatkin To: "J. R. Okajima" Cc: Mimi Zohar , Dmitry Kasatkin , Al Viro , "Eric W. Biederman" , linux-security-module , eparis@redhat.com, "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 On 9 May 2014 23:07, J. R. Okajima wrote: > > Mimi Zohar: >> I assume so, as there wasn't any comment. As a temporary fix, would it >> make sense not to measure/appraise/audit files opened with the direct-io >> flag based policy? Define a new IMA policy option 'directio'. A sample >> rule would look like: >> >> dont_appraise bprm_check directio fsuuid=... > > I prefer such approach or anything addressing in IMA only, so it makes > sense. > > > J. R. Okajima We are working on i_mutex free solution. Let's hold on on this... -- Thanks, Dmitry