From: James Morris <jmorris@namei.org>
To: Mimi Zohar <zohar@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org, david safford <safford@watson.ibm.com>
Subject: Re: [PATCH] integrity: lsm audit rule matching fix
Date: Wed, 6 May 2009 09:14:51 +1000 (EST) [thread overview]
Message-ID: <alpine.LRH.2.00.0905060914300.10864@tundra.namei.org> (raw)
In-Reply-To: <1241543568.6101.10.camel@dyn9002018117.watson.ibm.com>
On Tue, 5 May 2009, Mimi Zohar wrote:
> An audit subsystem change replaced AUDIT_EQUAL with Audit_equal.
> Update calls to security_filter_rule_init()/match() to reflect
> the change.
>
> Index: security-testing-2.6/security/integrity/ima/ima_policy.c
> ===================================================================
> --- security-testing-2.6.orig/security/integrity/ima/ima_policy.c
> +++ security-testing-2.6/security/integrity/ima/ima_policy.c
> @@ -96,7 +96,7 @@ static bool ima_match_rules(struct ima_m
> if ((rule->flags & IMA_UID) && rule->uid != tsk->cred->uid)
> return false;
> for (i = 0; i < MAX_LSM_RULES; i++) {
> - int rc;
> + int rc = 0;
Why did you change this?
--
James Morris
<jmorris@namei.org>
next prev parent reply other threads:[~2009-05-05 23:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-05 17:12 Mimi Zohar
2009-05-05 23:14 ` James Morris [this message]
2009-05-05 23:25 ` James Morris
2009-05-05 23:46 ` Mimi Zohar
2009-05-05 23:38 ` Mimi Zohar
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=alpine.LRH.2.00.0905060914300.10864@tundra.namei.org \
--to=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=safford@watson.ibm.com \
--cc=zohar@linux.vnet.ibm.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
all inboxes | Powered by JetHome®