ima_queue.c (f26e8817b235d8764363bffcc9cbfc61867371f2) | ima_queue.c (94c3aac567a9ddb9e868a7fae3c927c08b51b7c6) |
---|---|
1/* 2 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 3 * 4 * Authors: 5 * Serge Hallyn <serue@us.ibm.com> 6 * Reiner Sailer <sailer@watson.ibm.com> 7 * Mimi Zohar <zohar@us.ibm.com> 8 * --- 135 unchanged lines hidden (view full) --- 144 audit_info = 0; 145 } 146out: 147 mutex_unlock(&ima_extend_list_mutex); 148 integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, filename, 149 op, audit_cause, result, audit_info); 150 return result; 151} | 1/* 2 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 3 * 4 * Authors: 5 * Serge Hallyn <serue@us.ibm.com> 6 * Reiner Sailer <sailer@watson.ibm.com> 7 * Mimi Zohar <zohar@us.ibm.com> 8 * --- 135 unchanged lines hidden (view full) --- 144 audit_info = 0; 145 } 146out: 147 mutex_unlock(&ima_extend_list_mutex); 148 integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, filename, 149 op, audit_cause, result, audit_info); 150 return result; 151} |
152 153int ima_restore_measurement_entry(struct ima_template_entry *entry) 154{ 155 int result = 0; 156 157 mutex_lock(&ima_extend_list_mutex); 158 result = ima_add_digest_entry(entry); 159 mutex_unlock(&ima_extend_list_mutex); 160 return result; 161} |
|