[PATCH v9 09/23] ima: Move some IMA policy and filesystem related variables into ima_namespace

Mimi Zohar zohar at linux.ibm.com
Thu Jan 27 22:30:41 UTC 2022


On Tue, 2022-01-25 at 17:46 -0500, Stefan Berger wrote:
> From: Stefan Berger <stefanb at linux.ibm.com>
> 
> Move the ima_write_mutex, ima_fs_flag, and valid_policy variables into
> ima_namespace. This way each IMA namespace can set those variables
> independently.

This patch description needs to be expanded a bit, indicating why
they're being moved together.  These flags are needed when loading a
policy. Please also update the "struct ima_namespace" comment.

thanks,

Mimi



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