Re: [PATCH] audit: clear thread flag for new children

From: Chris Wright
Date: Fri Oct 26 2007 - 18:43:01 EST


* Tony Jones (tonyj@xxxxxxx) wrote:
> From: Tony Jones <tonyj@xxxxxxx>
> Minor performance enhancement.
>
> Thread flag TIF_SYSCALL_AUDIT is not cleared for new children when audit
> context creation has been disabled (auditctl -e0). This can cause new children
> forked from a parent created when audit was enabled to not take the fastest
> syscall path thru entry.S
>
> Signed-off-by: Tony Jones <tonyj@xxxxxxx>

Yeah, I think that's the right thing to do. Doesn't have an
audit_context anyway.

Acked-by: Chris Wright <chrisw@xxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/