All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Getting events on unix socket
Date: Thu, 30 Jul 2015 11:51:15 -0400	[thread overview]
Message-ID: <5598992.dAmjx71Ayh@x2> (raw)
In-Reply-To: <CAAnai+WP2i31j5Q=0=8oupN2v7ttX7-HzUD7xaTv5JRF-DOS9g@mail.gmail.com>

On Wednesday, July 29, 2015 02:29:23 PM Satish Chandra Kilaru wrote:
> I would like to receive events on unix socket in binary format.
> There is already another program that is reading events from unix socket in
> string format. I created another config file as below...
>
> active = yes
> direction = out
> path = builtin_af_unix
> type = builtin
> args = 0640 /var/run/satish_events
> format = binary
> 
> In my test program I am reading events from the socket
> /var/run/satish_events
> Surprisingly I see events in string format as well as binary format.
> 
> Is it by design or a bug?

I'd have to check. I don't think it was intended to run more than one 
instance. What is better, though, is to write the plugin to just read stdin. 

-Steve

  reply	other threads:[~2015-07-30 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29 18:29 Getting events on unix socket Satish Chandra Kilaru
2015-07-30 15:51 ` Steve Grubb [this message]
2015-07-30 15:58   ` Satish Chandra Kilaru

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=5598992.dAmjx71Ayh@x2 \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.