From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Format of EXECVE
Date: Mon, 17 Sep 2007 14:07:52 -0400 [thread overview]
Message-ID: <200709171407.53515.sgrubb@redhat.com> (raw)
In-Reply-To: <1190047816.14088.17.camel@localhost.localdomain>
On Monday 17 September 2007 12:50:16 Matthew Booth wrote:
> Firstly, on RHEL4 U5, I've noticed that if an argument has spaces in it,
> it won't be pretty printed in the EXECVE record. Is that a feature?
Yes. Any field originating in something that a user can alter is escaped when
one of several characters is found in the field.
> Secondly, I noticed that the sequence of messages is:
> SYSCALL
> EXECVE
> CWD
> PATH
>
> I'm considering expanding argv[0] of EXECVE to be an absolute path.
> However, that would mean either buffering things or moving EXECVE after
> the PATH record. Would that break any contract, or reasonable
> expectations that anyone's aware of?
They come out in the order the kernel creates them. I don't think anything in
the audit package cares about that ordering. It buffers an event at a time in
ausearch and aureport.
-Steve
next prev parent reply other threads:[~2007-09-17 18:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-17 16:50 Format of EXECVE Matthew Booth
2007-09-17 18:07 ` Steve Grubb [this message]
2007-09-17 20:54 ` Valdis.Kletnieks
2007-09-17 21:31 ` Matthew Booth
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=200709171407.53515.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 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.