Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Amy Griffis <amy.griffis@hp.com>
To: linux-audit@redhat.com
Subject: Re: [PATCH git 1/3] fix inode rules not added to inode hash
Date: Mon, 5 Jun 2006 13:42:56 -0400	[thread overview]
Message-ID: <20060605174256.GB24778@zk3.dec.com> (raw)
In-Reply-To: <20060605174105.GA24778@zk3.dec.com>

Rules with field "inode=" belong in the inode hash.

Signed-off-by: Amy Griffis <amy.griffis@hp.com>

---

 kernel/auditfilter.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

4d6785169aa274de9171ad2d34d2547412af4d4c
diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c
index f35f535..d53a80d 100644
--- a/kernel/auditfilter.c
+++ b/kernel/auditfilter.c
@@ -248,6 +248,8 @@ static inline int audit_to_inode(struct 
 	if (krule->listnr != AUDIT_FILTER_EXIT ||
 	    krule->watch || krule->inode_f)
 		return -EINVAL;
+
+	krule->inode_f = f;
 	return 0;
 }
 
-- 
1.3.0

  reply	other threads:[~2006-06-05 17:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-05 17:41 [PATCH git 0/3] audit inode hash bug fix, cleanup Amy Griffis
2006-06-05 17:42 ` Amy Griffis [this message]
2006-06-05 17:45 ` [PATCH git 2/3] don't allow duplicate inode or watch rules Amy Griffis
2006-06-05 17:46 ` [PATCH git 3/3] make audit_del_rule() use audit_find_rule() Amy Griffis

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=20060605174256.GB24778@zk3.dec.com \
    --to=amy.griffis@hp.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