Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146419
b: refs/heads/master
c: e5e520a
h: refs/heads/master
i:
  146417: fea9f8e
  146415: 7c5f48e
v: v3
  • Loading branch information
Mimi Zohar authored and James Morris committed May 6, 2009
1 parent 6564f18 commit 0b0b813
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53fc0e2259f261602a2750dcc82b8d7bf04d3c35
refs/heads/master: e5e520a715dcea6b72f6b9417b203a4b1e813a8b
17 changes: 4 additions & 13 deletions trunk/security/integrity/ima/ima_audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,10 @@ void integrity_audit_msg(int audit_msgno, struct inode *inode,
audit_get_loginuid(current),
audit_get_sessionid(current));
audit_log_task_context(ab);
switch (audit_msgno) {
case AUDIT_INTEGRITY_DATA:
case AUDIT_INTEGRITY_METADATA:
case AUDIT_INTEGRITY_PCR:
case AUDIT_INTEGRITY_STATUS:
audit_log_format(ab, " op=%s cause=%s", op, cause);
break;
case AUDIT_INTEGRITY_HASH:
audit_log_format(ab, " op=%s hash=%s", op, cause);
break;
default:
audit_log_format(ab, " op=%s", op);
}
audit_log_format(ab, " op=");
audit_log_string(ab, op);
audit_log_format(ab, " cause=");
audit_log_string(ab, cause);
audit_log_format(ab, " comm=");
audit_log_untrustedstring(ab, current->comm);
if (fname) {
Expand Down

0 comments on commit 0b0b813

Please sign in to comment.