From: Lenny Bruzenak <lenny@magitekltd.com>
To: linux-audit@redhat.com
Subject: Re: Error handling of auditctl -w
Date: Thu, 18 Jun 2020 17:54:56 -0600 [thread overview]
Message-ID: <c24d29b5-2f29-260c-956d-64863ca15ef9@magitekltd.com> (raw)
In-Reply-To: <1MXp9Y-1jOF6E24IW-00Y8HI@mail.gmx.com>
On 6/16/20 2:00 PM, Stefan Tauner wrote:
> Hi,
>
> I was wondering why my auditctl executions do not print any errors but
> apparently didn't do anything. After checking the return value (which
> was 255) I looked at the code and noticed that audit_setup_perms() and
> audit_update_watch_perms() have virtually no user-visible error reporting.
Are these in a rules file? I was thinking about perhaps a previous "-i"
(i.e. auditctl -i) preceeded your rule, however the man page says it
always returns a success code.
So probably not that, unless the man page doesn't match reality. Can you
provide a little more detail (e.g. parameters)?
Thx,
LCB
--
Lenny Bruzenak
MagitekLTD
--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit
next prev parent reply other threads:[~2020-06-18 23:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-16 20:00 Error handling of auditctl -w Stefan Tauner
2020-06-18 23:54 ` Lenny Bruzenak [this message]
2020-06-21 18:38 ` Steve Grubb
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=c24d29b5-2f29-260c-956d-64863ca15ef9@magitekltd.com \
--to=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;
as well as URLs for NNTP newsgroup(s).