[PATCH v9 01/23] ima: Remove ima_policy file before directory

Christian Brauner brauner at kernel.org
Wed Jan 26 08:30:30 UTC 2022


On Tue, Jan 25, 2022 at 05:46:23PM -0500, Stefan Berger wrote:
> From: Stefan Berger <stefanb at linux.ibm.com>
> 
> The removal of ima_dir currently fails since ima_policy still exists, so
> remove the ima_policy file before removing the directory.
> 
> Fixes: 4af4662fa4a9 ("integrity: IMA policy")
> Signed-off-by: Stefan Berger <stefanb at linux.ibm.com>
> ---

Looks good,
Acked-by: Christian Brauner <brauner at kernel.org>



More information about the Linux-security-module-archive mailing list