From: Steve Grubb <sgrubb@redhat.com>
To: Aaron Lewis <the.warl0ck.1989@gmail.com>
Cc: "linux-audit@redhat.com" <linux-audit@redhat.com>
Subject: Re: What's the difference between -F dir=XX and -w?
Date: Fri, 3 Jan 2014 09:18:07 -0500 [thread overview]
Message-ID: <20140103091807.55ddc2ce@ivy-bridge> (raw)
In-Reply-To: <CAJZVxRmz84tf6cBr3q2_qD5OTbH9PnGBdxpcELLvyCAGZDBv6w@mail.gmail.com>
On Fri, 3 Jan 2014 14:30:58 +0800
Aaron Lewis <the.warl0ck.1989@gmail.com> wrote:
> What's the difference between -F dir=XX and -w?
>
> -a exit,always -F arch=b64 -S open -F success=1 -F dir=/secure
>
> versus
>
> -w /secure
>
The '-w' option is for backwards compatibility with the original
(RHEL4) implementation. What it does it detect what the target is (file
or dir) and then expands into -F path= or -F dir= depending on what the
target was. '-w' should be considered deprecated and is limited in its
capabilities. This is explained in more detail on the auditctl man page.
-Steve
prev parent reply other threads:[~2014-01-03 14:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-03 6:30 What's the difference between -F dir=XX and -w? Aaron Lewis
2014-01-03 8:12 ` Bryan Harris
2014-01-03 14:18 ` 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=20140103091807.55ddc2ce@ivy-bridge \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
--cc=the.warl0ck.1989@gmail.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