lkml.org 
[lkml]   [2009]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] integrity: lsm audit rule matching fix
From
Date
On Wed, 2009-05-06 at 09:14 +1000, James Morris wrote:
> 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?

Based on a reported compiler warning error.

Mimi



\
 
 \ /
  Last update: 2009-05-06 01:41    [W:0.061 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site