From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: selinux@lists.fedoraproject.org, Joshua Brindle <method@manicmethod.com>
Subject: Re: How do I figure out on what file dac_override is attempted?
Date: Wed, 20 Jan 2010 15:13:23 -0500 [thread overview]
Message-ID: <201001201513.23697.sgrubb@redhat.com> (raw)
In-Reply-To: <1264017052.24133.161.camel@moss-pluto.epoch.ncsc.mil>
On Wednesday 20 January 2010 02:50:52 pm Stephen Smalley wrote:
> > Here is my blog on it.
> >
> > http://danwalsh.livejournal.com/34903.html
>
> 1) Your watch will actually trigger some audit messages since that file
> does get written sometimes, vs. using Eric or Steve Grubb's suggestion
> which should never fire.
I had suggested to Dan to use a file watch so as not to impact performance as
much if the system is a busy one, but I had suggested a file that should never
be written to like /etc/service, /etc/shells, or /etc/protocols. The file is
matched by hash rather than looping through the syscall rules which does make
things run faster.
> 2) I see a type=PATH record rather than type=AVC_PATH, e.g.:
> As I recall, AVC_PATH was for the case where we could directly generate
> the pathname during AVC audit (i.e. the hook had the vfsmount and dentry
> available to it), whereas PATH is when syscall audit collected the
> pathname on entry.
That would be duplication of audit records. PATH should be emitted whenever
you want the object of the syscall. It appears that AVC_PATH has been
deprecated.
-Steve
next prev parent reply other threads:[~2010-01-20 20:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <19284.52512.295295.185383@gargle.gargle.HOWL>
2010-01-19 14:52 ` How do I figure out on what file dac_override is attempted? Stephen Smalley
[not found] ` <1263912766.12068.12.camel@moss-pluto.epoch.ncsc.mil>
2010-01-19 15:06 ` Daniel J Walsh
[not found] ` <4B55CA8B.3030706@redhat.com>
2010-01-19 15:23 ` Stephen Smalley
[not found] ` <19286.64383.173222.447312@gargle.gargle.HOWL>
2010-01-20 13:51 ` Stephen Smalley
[not found] ` <1263995482.24133.26.camel@moss-pluto.epoch.ncsc.mil>
2010-01-20 15:12 ` Daniel J Walsh
2010-01-20 15:22 ` Stephen Smalley
[not found] ` <1264000927.24133.93.camel@moss-pluto.epoch.ncsc.mil>
[not found] ` <4B572C29.8050600@manicmethod.com>
2010-01-20 19:23 ` Daniel J Walsh
[not found] ` <4B57582D.7070904@redhat.com>
2010-01-20 19:50 ` Stephen Smalley
[not found] ` <1264017052.24133.161.camel@moss-pluto.epoch.ncsc.mil>
2010-01-20 20:13 ` Steve Grubb [this message]
2010-01-20 20:49 ` Daniel J Walsh
[not found] ` <4B576C58.3090801@redhat.com>
2010-01-20 20:57 ` Stephen Smalley
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=201001201513.23697.sgrubb@redhat.com \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
--cc=method@manicmethod.com \
--cc=selinux@lists.fedoraproject.org \
/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.