From owner-freebsd-bugs Fri May 24 15:50:25 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0BBE737B409 for ; Fri, 24 May 2002 15:50:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4OMo2L04523; Fri, 24 May 2002 15:50:02 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 3B69737B404 for ; Fri, 24 May 2002 15:41:32 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4OMfWhG095117 for ; Fri, 24 May 2002 15:41:32 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g4OMfWVD095116; Fri, 24 May 2002 15:41:32 -0700 (PDT) Message-Id: <200205242241.g4OMfWVD095116@www.freebsd.org> Date: Fri, 24 May 2002 15:41:32 -0700 (PDT) From: Andreas Gustafsson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/38527: /dev/random does not obey O_NONBLOCK flag Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38527 >Category: kern >Synopsis: /dev/random does not obey O_NONBLOCK flag >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 24 15:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Andreas Gustafsson >Release: 4.5-STABLE >Organization: Nominum, Inc >Environment: FreeBSD yomiko.engr.nominum.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed May 1 17:12:00 PDT 2002 root@yomiko.engr.nominum.com:/usr/obj/usr/src/sys/YOMIKO i386 >Description: In FreeBSD 4.5, reads on /dev/random are nonblocking by default. This is incompatible with both the NetBSD and the Linux /dev/random. Reads should be nonblocking if and only if the O_NONBLOCK flag was passed to open(). >How-To-Repeat: Type "od -c Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message