Date: Tue, 05 Feb 2002 19:49:38 +0000 From: Mark Murray <mark@grondar.za> To: "Andrey A. Chernov" <ache@nagual.pp.ru> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c Message-ID: <200202051949.g15Jnhs12003@greenpeace.grondar.org> In-Reply-To: <20020205184059.GA6785@nagual.pp.ru> ; from "Andrey A. Chernov" <ache@nagual.pp.ru> "Tue, 05 Feb 2002 21:40:59 %2B0300." References: <20020205184059.GA6785@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, Feb 05, 2002 at 15:20:44 +0300, Andrey A. Chernov wrote: > > > > 1) You break applications which expect the same sequence from random() > > (when initializing srandom() to some fixed value) since insert random() > > calls in the middle of application ones. > > In case my description is unclear, here is example: > > App: > srandom(33); > random(); > random(); > call PAM library > PAM calls random(); > PAM calls random() > return; /* application starts, control is handed over to the user */ srandom(33); random(); /* sequence is OK. */ M -- o Mark Murray \_ FreeBSD Services Limited O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202051949.g15Jnhs12003>