lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 05 May 2009 19:38:12 -0400
From:	Mimi Zohar <zohar@...ux.vnet.ibm.com>
To:	James Morris <jmorris@...ei.org>
Cc:	linux-kernel@...r.kernel.org,
	david safford <safford@...son.ibm.com>
Subject: Re: [PATCH] integrity: lsm audit rule matching fix

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ