15 #include <linux/module.h>
16 #include <linux/slab.h>
19 #include <linux/xattr.h>
23 static const char *IMA_TEMPLATE_NAME =
"ima";
44 const char *
op =
"add_template_measure";
45 const char *audit_cause =
"hashing_error";
59 audit_cause, result, 0);
75 const char *
op,
const char *
cause)
96 op, cause, result, 0);
143 struct inode *
inode = file->f_dentry->d_inode;
159 filename,
"collect_data",
"failed",
182 const char *
op =
"add_template_measure";
183 const char *audit_cause =
"ENOMEM";
185 struct inode *
inode = file->f_dentry->d_inode;
195 op, audit_cause, result, 0);
202 file->f_dentry->d_name.
name : filename);
205 if (!result || result == -
EEXIST)