diff options
Diffstat (limited to 'security/integrity/ima/ima_queue.c')
| -rw-r--r-- | security/integrity/ima/ima_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_queue.c b/security/integrity/ima/ima_queue.c index d9aa5ab71204..a02a86d51102 100644 --- a/security/integrity/ima/ima_queue.c +++ b/security/integrity/ima/ima_queue.c | |||
| @@ -81,7 +81,7 @@ static int get_binary_runtime_size(struct ima_template_entry *entry) | |||
| 81 | size += sizeof(u32); /* pcr */ | 81 | size += sizeof(u32); /* pcr */ |
| 82 | size += sizeof(entry->digest); | 82 | size += sizeof(entry->digest); |
| 83 | size += sizeof(int); /* template name size field */ | 83 | size += sizeof(int); /* template name size field */ |
| 84 | size += strlen(entry->template_desc->name) + 1; | 84 | size += strlen(entry->template_desc->name); |
| 85 | size += sizeof(entry->template_data_len); | 85 | size += sizeof(entry->template_data_len); |
| 86 | size += entry->template_data_len; | 86 | size += entry->template_data_len; |
| 87 | return size; | 87 | return size; |
