|
@@ -134,7 +134,8 @@ int ima_add_template_entry(struct ima_template_entry *entry, int violation,
|
|
}
|
|
}
|
|
out:
|
|
out:
|
|
mutex_unlock(&ima_extend_list_mutex);
|
|
mutex_unlock(&ima_extend_list_mutex);
|
|
- integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, entry->template_name,
|
|
|
|
|
|
+ integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode,
|
|
|
|
+ entry->template.file_name,
|
|
op, audit_cause, result, audit_info);
|
|
op, audit_cause, result, audit_info);
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|