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] [day] [month] [year] [list]
Date:	Wed, 30 May 2012 13:28:35 -0500
From:	Serge Hallyn <serge.hallyn@...onical.com>
To:	Kees Cook <keescook@...omium.org>
Cc:	Sasikantha babu <sasikanth.v19@...il.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	"Eric W. Biederman" <ebiederm@...ssion.com>,
	James Morris <james.l.morris@...cle.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] prctl: Removed redunant assignment of "error" to zero

Quoting Kees Cook (keescook@...omium.org):
> On Wed, May 30, 2012 at 8:27 AM, Sasikantha babu
> <sasikanth.v19@...il.com> wrote:
> > Just setting the "error" to error number is enough on failure and
> > It doesn't require to set "error" variable to zero in each switch case, since
> > it was already initialized with zero. And also removed return 0 in switch case
> > with break statement
> >
> > Signed-off-by: Sasikantha babu <sasikanth.v19@...il.com>
> 
> Acked-by: Kees Cook <keescook@...omium.org>

Acked-by: Serge E. Hallyn <serge@...lyn.com>

> 
> -Kees
> 
> -- 
> Kees Cook
> Chrome OS Security
--
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