audit.85 kernel

David Woodhouse dwmw2 at infradead.org
Thu Aug 4 23:17:27 UTC 2005


I finally worked out what was wrong and got the kernel through the build
system.

* Wed Aug  3 2005 David Woodhouse <dwmw2 at redhat.com> audit.85
- Fix success/failure for PPC64 syscall rules


While doing final checks, I also noticed that this part of the patch
which went into audit.83 was bogus, and removed it...

@@ -944,7 +947,7 @@ void audit_free(struct task_struct *tsk)
        task_unlock(tsk);
 
        if (likely(!context))
-               return;
+               goto out;
 
        /* Check for system calls that do not go through the exit
         * function (e.g., exit_group), then free context block. 
@@ -953,6 +956,7 @@ void audit_free(struct task_struct *tsk)
        if (context->in_syscall && context->auditable)
                audit_log_exit(context, GFP_ATOMIC);
 
+ out:
        audit_free_context(context);
 }
-- 
dwmw2





More information about the Linux-audit mailing list