All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Guy Briggs <rgb@redhat.com>
To: linux-audit@redhat.com, linux-kernel@vger.kernel.org
Cc: Richard Guy Briggs <rgb@redhat.com>
Subject: [PATCH V4 (was V6) 0/2] audit: rebalance and remove extra layers of watch references
Date: Sat,  1 Aug 2015 15:41:11 -0400	[thread overview]
Message-ID: <cover.1438446498.git.rgb@redhat.com> (raw)

While working on the audit by executable path feature, it was discovered that
watches and parent references were slightly imbalanced and deeper than
necessary.

Only bump up references when they are actually used and decrease when removed.


v4: Eliminate unnecessary gotos and call return directly.
    Expand patch description with answer to mailing list query.


Richard Guy Briggs (2):
  audit: eliminate unnecessary extra layer of watch references
  audit: eliminate unnecessary extra layer of watch parent references

 kernel/audit_watch.c |   11 ++++-------
 kernel/auditfilter.c |   16 +++-------------
 2 files changed, 7 insertions(+), 20 deletions(-)

WARNING: multiple messages have this Message-ID (diff)
From: Richard Guy Briggs <rgb@redhat.com>
To: linux-audit@redhat.com, linux-kernel@vger.kernel.org
Cc: Richard Guy Briggs <rgb@redhat.com>,
	sgrubb@redhat.com, pmoore@redhat.com, eparis@redhat.com
Subject: [PATCH V4 (was V6) 0/2] audit: rebalance and remove extra layers of watch references
Date: Sat,  1 Aug 2015 15:41:11 -0400	[thread overview]
Message-ID: <cover.1438446498.git.rgb@redhat.com> (raw)

While working on the audit by executable path feature, it was discovered that
watches and parent references were slightly imbalanced and deeper than
necessary.

Only bump up references when they are actually used and decrease when removed.


v4: Eliminate unnecessary gotos and call return directly.
    Expand patch description with answer to mailing list query.


Richard Guy Briggs (2):
  audit: eliminate unnecessary extra layer of watch references
  audit: eliminate unnecessary extra layer of watch parent references

 kernel/audit_watch.c |   11 ++++-------
 kernel/auditfilter.c |   16 +++-------------
 2 files changed, 7 insertions(+), 20 deletions(-)


             reply	other threads:[~2015-08-01 19:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-01 19:41 Richard Guy Briggs [this message]
2015-08-01 19:41 ` [PATCH V4 (was V6) 0/2] audit: rebalance and remove extra layers of watch references Richard Guy Briggs
2015-08-01 19:41 ` [PATCH V4 (was V6) 1/2] audit: eliminate unnecessary extra layer " Richard Guy Briggs
2015-08-01 19:41   ` Richard Guy Briggs
2015-08-04 22:27   ` Paul Moore
2015-08-01 19:41 ` [PATCH V4 (was V6) 2/2] audit: eliminate unnecessary extra layer of watch parent references Richard Guy Briggs
2015-08-04 22:28   ` Paul Moore

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=cover.1438446498.git.rgb@redhat.com \
    --to=rgb@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=linux-kernel@vger.kernel.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.