diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/auditsc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 56e56ed594a8..d7249fcdc442 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
@@ -1596,7 +1596,7 @@ static inline void handle_one(const struct inode *inode) | |||
1596 | if (likely(put_tree_ref(context, chunk))) | 1596 | if (likely(put_tree_ref(context, chunk))) |
1597 | return; | 1597 | return; |
1598 | if (unlikely(!grow_tree_refs(context))) { | 1598 | if (unlikely(!grow_tree_refs(context))) { |
1599 | printk(KERN_WARNING "out of memory, audit has lost a tree reference"); | 1599 | printk(KERN_WARNING "out of memory, audit has lost a tree reference\n"); |
1600 | audit_set_auditable(context); | 1600 | audit_set_auditable(context); |
1601 | audit_put_chunk(chunk); | 1601 | audit_put_chunk(chunk); |
1602 | unroll_tree_refs(context, p, count); | 1602 | unroll_tree_refs(context, p, count); |
@@ -1656,7 +1656,7 @@ retry: | |||
1656 | } | 1656 | } |
1657 | /* too bad */ | 1657 | /* too bad */ |
1658 | printk(KERN_WARNING | 1658 | printk(KERN_WARNING |
1659 | "out of memory, audit has lost a tree reference"); | 1659 | "out of memory, audit has lost a tree reference\n"); |
1660 | unroll_tree_refs(context, p, count); | 1660 | unroll_tree_refs(context, p, count); |
1661 | audit_set_auditable(context); | 1661 | audit_set_auditable(context); |
1662 | return; | 1662 | return; |
@@ -1752,13 +1752,13 @@ static int audit_inc_name_count(struct audit_context *context, | |||
1752 | if (context->name_count >= AUDIT_NAMES) { | 1752 | if (context->name_count >= AUDIT_NAMES) { |
1753 | if (inode) | 1753 | if (inode) |
1754 | printk(KERN_DEBUG "name_count maxed, losing inode data: " | 1754 | printk(KERN_DEBUG "name_count maxed, losing inode data: " |
1755 | "dev=%02x:%02x, inode=%lu", | 1755 | "dev=%02x:%02x, inode=%lu\n", |
1756 | MAJOR(inode->i_sb->s_dev), | 1756 | MAJOR(inode->i_sb->s_dev), |
1757 | MINOR(inode->i_sb->s_dev), | 1757 | MINOR(inode->i_sb->s_dev), |
1758 | inode->i_ino); | 1758 | inode->i_ino); |
1759 | 1759 | ||
1760 | else | 1760 | else |
1761 | printk(KERN_DEBUG "name_count maxed, losing inode data"); | 1761 | printk(KERN_DEBUG "name_count maxed, losing inode data\n"); |
1762 | return 1; | 1762 | return 1; |
1763 | } | 1763 | } |
1764 | context->name_count++; | 1764 | context->name_count++; |