From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Absolute path names in PATH records
Date: Tue, 3 Jul 2007 17:44:49 -0400 [thread overview]
Message-ID: <200707031744.49534.sgrubb@redhat.com> (raw)
In-Reply-To: <1183405495.4534.12.camel@localhost.localdomain>
On Monday 02 July 2007 03:44:55 pm Matthew Booth wrote:
> I've hit a hurdle trying to do some post processing on audit output
> because PATH records contain paths relative to the CWD,
Actually, they are exactly what was passed to the kernel. If its an absolute
path, then you will get that and the CWD record is not needed. But if the
path starts with a '.', then you have to pay attention to the CWD record.
Also, if you have a chroot situation, you must pay attention to the CWD
record. The PATH record is from the PoV of the application using files.
> How much effort would likely be involved in making sure these paths were
> always absolute?
We only record what the kernel is working with. There is no chance to do
anything during the recording side and save that for post-processing.
-Steve
prev parent reply other threads:[~2007-07-03 21:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-02 19:44 Absolute path names in PATH records Matthew Booth
2007-07-02 20:31 ` Valdis.Kletnieks
2007-07-02 20:40 ` Matthew Booth
2007-07-02 20:43 ` John Dennis
2007-07-02 21:02 ` Matthew Booth
2007-07-02 21:22 ` John Dennis
2007-07-03 21:51 ` Steve Grubb
2007-07-03 21:44 ` 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=200707031744.49534.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.