From: Steve Grubb <sgrubb@redhat.com>
To: LC Bruzenak <lenny@magitekltd.com>
Cc: linux-audit@redhat.com
Subject: Re: ausearch results differ with "-i" flag
Date: Wed, 17 Mar 2010 16:15:00 -0400 [thread overview]
Message-ID: <201003171615.00316.sgrubb@redhat.com> (raw)
In-Reply-To: <1268853330.7162.45.camel@lcb>
On Wednesday 17 March 2010 03:15:30 pm LC Bruzenak wrote:
> On Wed, 2010-03-17 at 14:57 -0400, Steve Grubb wrote:
> > This particular avc originates from user space. The application needs
> > to follow the rules correctly so it doesn't mess up the logs.
>
> User space, yes, but from the Xorg server. Because X controls accesses
> internally it apparently audits stuff using the USER_AVC in this way.
> My confusion is that I thought any freetext should be allowed inside the
> "msg=" field and not interpreted by ausearch.
It depends on the name of the field. If they use comm, then it has to be
properly encoded as any other provider of the comm field's value has to do it.
> I remember a while back though you told me why this can happen...so I
> need to look back and see. I suspect because the parse libs work as I
> think and the ausearch/aureport doesn't use those.?.
I'm not sure why you are getting a difference in output. But the field's value
is not encoded correctly.
-Steve
prev parent reply other threads:[~2010-03-17 20:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-16 22:18 ausearch results differ with "-i" flag LC Bruzenak
2010-03-17 17:03 ` Steve Grubb
2010-03-17 18:49 ` John Dennis
2010-03-17 18:57 ` Steve Grubb
2010-03-17 19:15 ` LC Bruzenak
2010-03-17 20:15 ` Steve Grubb [this message]
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=201003171615.00316.sgrubb@redhat.com \
--to=sgrubb@redhat.com \
--cc=lenny@magitekltd.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