From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: listening to /dev/audit in a pthread program Date: Fri, 20 Apr 2007 19:13:23 -0400 Message-ID: <200704201913.24133.sgrubb@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Friday 20 April 2007 18:35:34 paul moore wrote: > I have an test app that quite happily does an audit_set_pid and then sits > there reading /dev/audit. There isn't a /dev/audit in linux.org kernels. > It works fine if its in the lead thread. But when I run the same code in my > real app it runs in a different thread. The important detail is where the audit_open call is made. Netlink want to send it to the same tid. -Steve