From: Chris Wright Subject: Re: [PATCH] audit: clear thread flag for new children Date: Fri, 26 Oct 2007 15:42:33 -0700 Message-ID: <20071026224233.GK3660@sequoia.sous-sol.org> References: <20071026204228.GA1519@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20071026204228.GA1519@suse.de> Sender: linux-kernel-owner@vger.kernel.org To: Tony Jones Cc: linux-kernel@vger.kernel.org, linux-audit@redhat.com, viro@ftp.linux.org.uk, chrisw@sous-sol.org List-Id: linux-audit@redhat.com * Tony Jones (tonyj@suse.de) wrote: > From: Tony Jones > 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 Yeah, I think that's the right thing to do. Doesn't have an audit_context anyway. Acked-by: Chris Wright