From: Steve Grubb <sgrubb@redhat.com>
To: Richard Guy Briggs <rgb@redhat.com>
Cc: linux-audit@redhat.com
Subject: Re: [PATCH 1/2] Revert "In auditctl, when resetting lost request status output afterwards"
Date: Mon, 27 Nov 2017 17:16:19 -0500 [thread overview]
Message-ID: <1957057.GYqr2Mv1DQ@x2> (raw)
In-Reply-To: <1511395257-6321-2-git-send-email-rgb@redhat.com>
On Wednesday, November 22, 2017 7:00:56 PM EST Richard Guy Briggs wrote:
> This reverts commit 56a708761347ba49ccdc2378d31133f01129f4f2.
>
> Conflicts:
> ChangeLog
> ---
> ChangeLog | 1 +
> src/auditctl.c | 7 ++++---
> 2 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index de9ae56..4e9ca3d 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -4,6 +4,7 @@
> - In auditctl, when resetting lost request status output afterwards
> - AVC report from aureport was missing result column header (#1511606)
> - Add SOFTWARE_UPDATE event
> +- REVERT: In auditctl, when resetting lost request status output afterwards
Applied. But its best not to mess with the Changelog because there is no
guarantee this patch goes in before other work. As it turns out, it failed to
apply and then I deleted this chunk and everything was OK.
-Steve
> 2.8.1
> - Fix NULL ptr dereference in audispd plugin_dir parser
> diff --git a/src/auditctl.c b/src/auditctl.c
> index 0b301c1..a1c05b5 100644
> --- a/src/auditctl.c
> +++ b/src/auditctl.c
> @@ -1064,9 +1064,10 @@ process_keys:
> #endif
> break;
> case 3:
> - if ((rc = audit_reset_lost(fd)) >= 0)
> - audit_request_status(fd);
> - else {
> + if ((rc = audit_reset_lost(fd)) >= 0) {
> + audit_msg(LOG_INFO, "lost: %u", rc);
> + return -2;
> + } else {
> audit_number_to_errmsg(rc, long_opts[lidx].name);
> retval = -1;
> }
next prev parent reply other threads:[~2017-11-27 22:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-23 0:00 [PATCH 0/2] lost_reset: alt fix restoring designed behaviour Richard Guy Briggs
2017-11-23 0:00 ` [PATCH 1/2] Revert "In auditctl, when resetting lost request status output afterwards" Richard Guy Briggs
2017-11-27 22:16 ` Steve Grubb [this message]
2017-11-27 22:41 ` Richard Guy Briggs
2017-11-27 23:06 ` Steve Grubb
2017-11-23 0:00 ` [PATCH 2/2] lost_reset: return value rather than sequence number when zero Richard Guy Briggs
2017-11-27 22:16 ` 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=1957057.GYqr2Mv1DQ@x2 \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
--cc=rgb@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).