public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: listening to /dev/audit in a pthread program
Date: Fri, 20 Apr 2007 19:13:23 -0400	[thread overview]
Message-ID: <200704201913.24133.sgrubb@redhat.com> (raw)
In-Reply-To: <BAY119-DAV82AE30AFCDDC29FE452208C560@phx.gbl>

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

  parent reply	other threads:[~2007-04-20 23:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <000401c7839c$359b1040$656fa8c0@centrify.com>
2007-04-20 22:35 ` listening to /dev/audit in a pthread program paul moore
2007-04-20 22:45   ` Paul Moore
     [not found]     ` <000501c783a0$d14cdd30$656fa8c0@centrify.com>
2007-04-20 23:08       ` paul moore
2007-04-20 23:13   ` Steve Grubb [this message]
     [not found]     ` <000601c783a5$aef988a0$656fa8c0@centrify.com>
2007-04-20 23:43       ` paul moore

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200704201913.24133.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox