mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-04-28 06:33:36 +02:00

If a signatures is detected as being portable do not attempt to read the generation with the ioctl since in some cases this may not be supported by the filesystem and is also not needed for computing a portable signature. This avoids the current work-around of passing --generation 0 when the ioctl is not supported by the filesystem. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>