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]
Message-ID: <20111125165008.05f4dbf3@nehalam.linuxnetplumber.net>
Date:	Fri, 25 Nov 2011 16:50:08 -0800
From:	Stephen Hemminger <shemminger@...tta.com>
To:	Hagen Paul Pfeifer <hagen@...u.net>
Cc:	netdev@...r.kernel.org, David.Laight@...LAB.COM
Subject: Re: [PATCH iproute2] utils: add s32 parser

On Sat, 26 Nov 2011 00:00:26 +0100
Hagen Paul Pfeifer <hagen@...u.net> wrote:

> Not sure if we should save errno and restore afterwards:
> 
> errno_save = errno;
> errno = 0;
> [...]
> errno = errno_save;

Not worth it. errno is only meaningful after a failed library or syscall.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ