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

getxattr() might return runtime value which does not really exist on file system. It happens for SMACK LSM. Reading the list of existing attributes allows to prevent such to happen. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>