Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292284
b: refs/heads/master
c: b0d5de4
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris authored and James Morris committed Feb 16, 2012
1 parent a6f99ce commit 96e63b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: bf06189e4d14641c0148bea16e9dd24943862215
refs/heads/master: b0d5de4d58803bbcce2b8175a8dd21c559a3abc1
2 changes: 1 addition & 1 deletion trunk/security/integrity/ima/ima_audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ void integrity_audit_msg(int audit_msgno, struct inode *inode,
audit_log_untrustedstring(ab, inode->i_sb->s_id);
audit_log_format(ab, " ino=%lu", inode->i_ino);
}
audit_log_format(ab, " res=%d", !result ? 0 : 1);
audit_log_format(ab, " res=%d", !result);
audit_log_end(ab);
}
2 changes: 1 addition & 1 deletion trunk/security/integrity/ima/ima_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ static int ima_parse_rule(char *rule, struct ima_measure_rule_entry *entry)
if (!result && (entry->action == UNKNOWN))
result = -EINVAL;

audit_log_format(ab, "res=%d", !!result);
audit_log_format(ab, "res=%d", !result);
audit_log_end(ab);
return result;
}
Expand Down

0 comments on commit 96e63b4

Please sign in to comment.