mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-11-05 15:20:36 +01: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>