Re: IMA + O_DIRECT (Re: [PATCH 0/1] fix IMA + Apparmor kernel panic)

From: J. R. Okajima
Date: Fri May 09 2014 - 16:07:20 EST



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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/