Your message dated Fri, 18 Nov 2005 13:04:24 +0100
with message-id <[EMAIL PROTECTED]>
and subject line fixed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Sep 2005 14:04:35 +0000
>From [EMAIL PROTECTED] Wed Sep 14 07:04:35 2005
Return-path: <[EMAIL PROTECTED]>
Received: from ls405.htnet.hr [195.29.150.97] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EFXsJ-0007Bg-00; Wed, 14 Sep 2005 07:04:35 -0700
Received: from ls401.t-com.hr (ls401.t-com.hr [195.29.150.236])
        by ls405.htnet.hr (0.0.0/8.12.10) with ESMTP id j8EE4UtC014281;
        Wed, 14 Sep 2005 16:04:32 +0200
Received: from ls401.t-com.hr (localhost.localdomain [127.0.0.1])
        by ls401.t-com.hr (Qmlai) with ESMTP id 408A470003;
        Wed, 14 Sep 2005 16:04:32 +0200 (CEST)
X-Envelope-Sender: [EMAIL PROTECTED]
X-Envelope-Sender: [EMAIL PROTECTED]
Received: from localhost.localdomain (83-131-9-1.adsl.net.t-com.hr [83.131.9.1])
        by ls401.t-com.hr (Qmlai) with ESMTP id D0939A8028;
        Wed, 14 Sep 2005 16:04:31 +0200 (CEST)
Received: by localhost.localdomain (Postfix, from userid 1000)
        id 722B938000E; Wed, 14 Sep 2005 16:04:16 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Hrvoje Niksic <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: manpages-dev: rand() manpage misrepresents FreeBSD's sranddev()
X-Mailer: reportbug 3.17
Date: Wed, 14 Sep 2005 16:04:16 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: manpages-dev
Version: 2.02-2
Severity: minor

Man page for rand(3) claims the following:

       FreeBSD adds a function

            void sranddev(void);

       that initializes the seed for their bad random generator rand() with
       a value obtained from their good random generator random().  Strange.

This implies that FreeBSD's sranddev() uses the output of random() to seed
rand's PRNG.  If that were the case, it would indeed be "strange", since
random(3) is merely an entry point to another generator, which also needs to
be seeded, which would make sranddev useless.

But that is, of course, not the case.  From the FreeBSD manual:

     The sranddev() function initializes a seed using the random(4) random
     number device which returns good random numbers, suitable for crypto-
     graphic use.

That makes a lot more sense: sranddev seeds rand's PRNG from the random
number *device* which gets entropy from the system's physical interfaces. 
random(4) referred to here is the random *device* which has nothing to do
with the random() *function* (which would be referred to as random(3)).

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages manpages-dev depends on:
ii  manpages                      2.02-2     Manual pages about using a GNU/Lin

manpages-dev recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 328269-close) by bugs.debian.org; 18 Nov 2005 12:07:32 +0000
>From [EMAIL PROTECTED] Fri Nov 18 04:07:32 2005
Return-path: <[EMAIL PROTECTED]>
Received: from luonnotar.infodrom.org ([195.124.48.78] ident=postfix)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Ed51g-0005KF-N5
        for [EMAIL PROTECTED]; Fri, 18 Nov 2005 04:07:32 -0800
Received: by luonnotar.infodrom.org (Postfix, from userid 10)
        id 716A7366B78; Fri, 18 Nov 2005 13:07:30 +0100 (CET)
Received: at Infodrom Oldenburg (/\##/\ Smail-3.2.0.102 1998-Aug-2 #2)
        from infodrom.org by finlandia.Infodrom.North.DE
        via smail from stdin
        id <[EMAIL PROTECTED]>
        for [EMAIL PROTECTED]; Fri, 18 Nov 2005 13:04:24 +0100 (CET) 
Date: Fri, 18 Nov 2005 13:04:24 +0100
From: Martin Schulze <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: fixed
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.5.11
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=0.5 required=4.0 tests=BAYES_30,ONEWORD autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Source: manpages
Source-Version: 2.08-1

-- 
It's practically impossible to look at a penguin and feel angry.

Please always Cc to me when replying to me on the lists.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to