[PATCH 3/6] integrity: remove global variable from machine_keyring.c

Mimi Zohar zohar at linux.ibm.com
Wed Aug 2 22:58:51 UTC 2023


On Fri, 2023-07-14 at 11:34 -0400, Nayna Jain wrote:
> trust_mok variable is accessed within a single function locally.
> 
> Change trust_mok from global to local static variable.
> 
> Signed-off-by: Nayna Jain <nayna at linux.ibm.com>

Reviewed-and-tested-by: Mimi Zohar <zohar at linux.ibm.com>



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