Subject: Re: CVS commit: src/sbin
To: Klaus Klein <kleink@reziprozitaet.de>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 04/22/2004 09:55:50
--Apple-Mail-62--880947773
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Apr 22, 2004, at 12:58 AM, Klaus Klein wrote:

> -       ident = htons(getpid()) & 0xFFFF;
> +       ident = htons(arc4random() & 0xFFFF);

Is there really a need to byte swap a random value??

         -- Jason R. Thorpe <thorpej@wasabisystems.com>


--Apple-Mail-62--880947773
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFAh/kXOpVKkaBm8XkRAjMNAJ0UbC2goBjbJUVP9GtoCsc4CoKW9ACgzdSY
kkwtKxyGCwl8IkkLv4K9GOU=
=gWuw
-----END PGP SIGNATURE-----

--Apple-Mail-62--880947773--