On Fri, 2005-05-06 at 00:56 -0700, Chris Wright wrote:
BTW, these are against current audit git tree.
Applied. Along with...
--- linux-2.6.9/kernel/audit.c~ 2005-05-06 15:55:59.000000000 +0100
+++ linux-2.6.9/kernel/audit.c 2005-05-06 15:56:32.000000000 +0100
@@ -626,13 +626,13 @@ static struct audit_buffer * audit_buffe
spin_unlock_irqrestore(&audit_freelist_lock, flags);
if (!ab) {
- ab = kmalloc(sizeof(*ab), GFP_ATOMIC);
+ ab = kmalloc(sizeof(*ab), gfp_mask);
if (!ab)
goto err;
}
atomic_inc(&audit_backlog);
- ab->skb = alloc_skb(AUDIT_BUFSIZ, GFP_ATOMIC);
+ ab->skb = alloc_skb(AUDIT_BUFSIZ, gfp_mask);
if (!ab->skb)
goto err;
--
dwmw2